[PATCH] Fortran : rejected f0.d edit descriptor PR96436

Mark Eggleston mark.eggleston@codethink.co.uk
Mon Aug 17 07:31:55 GMT 2020

Please find attached a patch for PR96436.

OK to commit?

[PATCH] Fortran  : rejected f0.d edit descriptor PR96436

Zero length f format descriptors are valid for Fortran 95 and
later.  For g format descriptors from Fortran 2008 and later.
Finally for D, E, EN and ES for Fortran 2018 and later.

2020-08-10  Mark Eggleston <markeggleston@gcc.gnu.org>


     PR fortran/96436
     * format.c (parse_format_list):  Add new local variable
     "standard" to hold the required standard to check. If the
     format width is zero select standard depending on descriptor.
     Call notification_std using the new standard variable.

2020-08-10  Mark Eggleston <markeggleston@gcc.gnu.org>


     PR fortran/96436
     * gfortran.dg/pr96436_1.f90
     * gfortran.dg/pr96436_2.f90
     * gfortran.dg/pr96436_3.f90
     * gfortran.dg/pr96436_4.f90
     * gfortran.dg/pr96436_5.f90
     * gfortran.dg/pr96436_6.f90
     * gfortran.dg/pr96436_7.f90
     * gfortran.dg/pr96436_8.f90
     * gfortran.dg/pr96436_9.f90
     * gfortran.dg/pr96436_10.f90


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fortran-rejected-f0.d-edit-descriptor-PR96436.patch
Type: text/x-patch
Size: 8802 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200817/29b9e417/attachment.bin>

More information about the Gcc-patches mailing list