re PR fortran/83560 (list-directed formatting of INTEGER is missing plus on output...
commita97de3ccdce3bac856c2b10b57a49a15c94e6ef2
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 29 Dec 2017 19:25:31 +0000 (29 19:25 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Fri, 29 Dec 2017 19:25:31 +0000 (29 19:25 +0000)
treeebc23eb7b1f0bba3d667758b205b94effcac8d84
parent459e77b859a96bc4dd3cfd53895c8dccfa0de679
re PR fortran/83560 (list-directed formatting of INTEGER is missing plus on output when output open with SIGN='PLUS')

2017-12-29  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libgfortran/83560
        * io/write.c (write_integer): Modify to use write_decimal.
        For namelist mode, suppress leading blanks and emit them as
        trailing blanks. Change parameter from len to kind for better
        readability. (nml_write_obj): Fix comment style.

From-SVN: r256034
gcc/testsuite/gfortran.dg/integer_plus.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/namelist_53.f90
gcc/testsuite/gfortran.dg/namelist_57.f90
libgfortran/ChangeLog
libgfortran/io/write.c