[Bug libfortran/48589] New: Invalid G0/G0.d editing for NaN/infinity

thenlich at users dot sourceforge.net gcc-bugzilla@gcc.gnu.org
Wed Apr 13 09:40:00 GMT 2011


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

           Summary: Invalid G0/G0.d editing for NaN/infinity
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libfortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: thenlich@users.sourceforge.net


Created attachment 23972
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23972
Test case

For NaN and infinity, the form of the output field for the G0 and G0.d edit
descriptors is set to a fixed width of 25, but Fortran 2008 demands:

10.7.5.2.2
3  For an internal value that is an IEEE infinity or NaN, [...] the form of the
output field for the G0 and G0.d edit descriptors is the same as for F0.0.



More information about the Gcc-bugs mailing list