public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/54679] New: Erroneous "Expected P edit descriptor" in conjunction with L descriptor
@ 2012-09-23 12:04 nmm1 at cam dot ac.uk
  2012-09-23 12:19 ` [Bug fortran/54679] " nmm1 at cam dot ac.uk
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: nmm1 at cam dot ac.uk @ 2012-09-23 12:04 UTC (permalink / raw)
  To: gcc-bugs


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54679

             Bug #: 54679
           Summary: Erroneous "Expected P edit descriptor" in conjunction
                    with L descriptor
    Classification: Unclassified
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: nmm1@cam.ac.uk


I get a spurious "Expected P edit descriptor in format string" in
conjunction with the L0 descriptor in a non-trivial format.  Changing
the L0 to I0 or F0.0 works.  It MAY be environment dependent, as I have
also failed to see it in another test program.  The oprogram is not
worth attaching.

PROGRAM Main
    IMPLICIT NONE
    CHARACTER(LEN=*), PARAMETER ::    &
        format1 = "(A,1X,I2,1X,A,1X,I2,1X,A,2(1X,I0,1X),A,2(1X,I0,1X))",    &
        format2 = "(A,1X,I2,1X,A,1X,I2,1X,A,2(1X,I0,1X),A,2(1X,L0,1X))",    &
        format3 = "(A,1X,I2,1X,A,1X,I2,1X,A,2(1X,I0,1X),A,2(1X,F0.0,1X))"
    PRINT format1
    PRINT format2
    PRINT format3
END PROGRAM Main

gives:

junk.f90:8.55:

    PRINT format2
                                                       1
Error: Expected P edit descriptor in format string at (1)


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-27  9:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-23 12:04 [Bug fortran/54679] New: Erroneous "Expected P edit descriptor" in conjunction with L descriptor nmm1 at cam dot ac.uk
2012-09-23 12:19 ` [Bug fortran/54679] " nmm1 at cam dot ac.uk
2012-09-23 16:24 ` kargl at gcc dot gnu.org
2013-06-27  9:21 ` dominiq at lps dot ens.fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).