This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/50105] New: Possibly: [4.3/4.4/4.5/4.6/4.7 Regression] I/O with g6.5 - wrong number of "**" shown


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: unassigned@gcc.gnu.org
        ReportedBy: burnus@gcc.gnu.org
                CC: jvdelisle@gcc.gnu.org, thenlich@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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]