re PR libfortran/90374 (Fortran 2018: Support d0.d, e0.d, es0.d, en0.d, g0.d and...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Thu, 28 Nov 2019 18:33:20 +0000 (18:33 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Thu, 28 Nov 2019 18:33:20 +0000 (18:33 +0000)
commit68c28e37e494a639dd6f7e7d21c79af7f8b71d17
tree884fa1d2b27e695975cafb49ab647aacd5f22ba5
parent9c28689a9908c56fffcf7b1acd6dec3fb8a947e2
re PR libfortran/90374 (Fortran 2018: Support d0.d, e0.d, es0.d, en0.d, g0.d and ew.d e0 edit descriptors for output)

PR fortran/90374
* io.c (check_format): Allow zero width expoenent with e0.

* io/format.c (parse_format_list): Relax format checking to allow
e0 exponent specifier.

* gfortran.dg/fmt_zero_width.f90: Update test.

From-SVN: r278817
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/fmt_zero_width.f90
libgfortran/ChangeLog
libgfortran/io/format.c
libgfortran/io/write_float.def