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: unassig...@gcc.gnu.org ReportedBy: thenl...@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.