public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/57822] New: I/O: "(g0)" wrongly prints "E+0000"
@ 2013-07-04 15:52 burnus at gcc dot gnu.org
  2013-09-03 15:30 ` [Bug fortran/57822] " dominiq at lps dot ens.fr
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: burnus at gcc dot gnu.org @ 2013-07-04 15:52 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-03-01  2:30 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-04 15:52 [Bug fortran/57822] New: I/O: "(g0)" wrongly prints "E+0000" burnus at gcc dot gnu.org
2013-09-03 15:30 ` [Bug fortran/57822] " dominiq at lps dot ens.fr
2015-02-10  2:50 ` jvdelisle at gcc dot gnu.org
2015-02-10  3:34 ` jvdelisle at gcc dot gnu.org
2015-02-10  4:34 ` dominiq at lps dot ens.fr
2015-02-10  4:55 ` jvdelisle at gcc dot gnu.org
2015-02-10 10:25 ` dominiq at lps dot ens.fr
2015-02-10 14:25 ` jvdelisle at gcc dot gnu.org
2015-02-11  4:29 ` jvdelisle at gcc dot gnu.org
2015-02-11 13:43 ` dominiq at lps dot ens.fr
2015-02-11 19:44 ` jvdelisle at gcc dot gnu.org
2015-02-12  3:53 ` jvdelisle at gcc dot gnu.org
2015-02-13  2:57 ` jvdelisle at gcc dot gnu.org
2015-03-01  2:30 ` jvdelisle at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).