http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57822
Bug ID: 57822 Summary: I/O: "(g0)" wrongly prints "E+0000" Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: burnus at gcc dot gnu.org g0 should print the minimal output. However, gfortran shows the exponent ("E+0000") for REAL(10) and REAL(16): .100000001 .10000000000000001 .100000000000000000001E+0000 .100000000000000000000000000000000005E+0000 Test case: print '(g0)', 0.1_4 print '(g0)', 0.1_8 print '(g0)', 0.1_10 print '(g0)', 0.1_16 end