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

             Bug #: 50105
           Summary: Possibly: [4.3/4.4/4.5/4.6/4.7 Regression] I/O with
                    g6.5 - wrong number of "**" shown
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: bur...@gcc.gnu.org
                CC: jvdeli...@gcc.gnu.org, thenl...@users.sourceforge.net


Bob Corbett (formally SUN, now Oracle) wonders at
http://j3-fortran.org/pipermail/j3/2011-August/004573.html
what the following program should print:

     PROGRAM MAIN
       PRINT '(G6.5)', 1.0
     END


Crayftn 7.1.4.111, gfortran 4.3 and 4.7, ifort 11.1, openf95, sunf95, and
pathf95 produce the following output (when piped through "od -a"):

0000000   *   *   *   *   *   *  nl
0000007


While g95, gfortran 4.1, NAG f95 5.1 and PGI 11.5 produce:

0000000   *   *  sp  sp  sp  sp  nl
0000007


Bob thinks that only the latter is correct.

Reply via email to