[Bug fortran/37834] write(*,'(f0.0)') 0.0 prints "." instead of "0."

jvdelisle at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Oct 19 18:39:00 GMT 2008



------- Comment #3 from jvdelisle at gcc dot gnu dot org  2008-10-19 18:37 -------
Subject: Bug 37834

Author: jvdelisle
Date: Sun Oct 19 18:36:21 2008
New Revision: 141231

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141231
Log:
2008-10-19  Jerry DeLisle  <jvdelisle@gcc.gnu.org

        PR libfortran/37834
        * io/write_float.def (output_float): Emit '0.' for special case of
        format specifier 'f0.0' and value of zero. Likewise emit '0' for
'f1.0'.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/write_float.def


-- 


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



More information about the Gcc-bugs mailing list