Discussion:
[patch, libgfortran] PR88052 - Format contravening f2008 constraint C1002 permitted
Jerry DeLisle
2018-11-24 20:40:50 UTC
Permalink
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 <***@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.
Dominique d'Humières
2018-11-24 22:51:17 UTC
Permalink
Hi Jerry,
Post by Jerry DeLisle
OK for trunk?
Could you give me some time to post some comments in bugzilla?

TIA

Dominique
Jerry DeLisle
2018-11-25 02:50:03 UTC
Permalink
Post by Dominique d'Humières
Hi Jerry,
Post by Jerry DeLisle
OK for trunk?
Could you give me some time to post some comments in bugzilla?
Sure, no rush.
Post by Dominique d'Humières
TIA
Dominique
Loading...