[patch, libgfortran] PR88052 - Format contravening f2008 constraint C1002 permitted
Jerry DeLisle
jvdelisle@charter.net
Sat Nov 24 20:41:00 GMT 2018
Hi all,
The attached patch adjusts the constraint of missing commas between
format specifiers by only allowing if std=legacy is given at compile time.
Several existing test cases are adjusted to be standard conforming.
Regression tested on x86-64-linux-gnu.
OK for trunk? (I will include the a change log for the testsuite.)
Jerry
2018-11-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/88052
* io/format.c (parse_format_list): Implement constraint which prohibits
missing commas between format specifiers unless -std=legacy is given.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr88052.diff
Type: text/x-patch
Size: 4998 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20181124/7faeb6c1/attachment.bin>
More information about the Fortran
mailing list