This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/54679] Erroneous "Expected P edit descriptor" in conjunction with L descriptor
- From: "nmm1 at cam dot ac.uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 23 Sep 2012 12:19:00 +0000
- Subject: [Bug fortran/54679] Erroneous "Expected P edit descriptor" in conjunction with L descriptor
- Auto-submitted: auto-generated
- References: <bug-54679-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54679
--- Comment #1 from Nick Maclaren <nmm1 at cam dot ac.uk> 2012-09-23 12:19:00 UTC ---
Please reduce the severity to trivial, and change it to "Confusing
diagnostic"! It's my error, at root, but gfortran could do better.
I had forgotten the relevant constraint (C1006 in Fortran 2003).
However, the syntax rule R1005 on the same page specifies that a
width is mandatory for the L descriptor, so the actual error is
that a width of zero is erroneous.