[gfortran] PATCH formatted write of 0.0 (PR libfortran/20101)

FX Coudert Francois-Xavier.Coudert@lcp.u-psud.fr
Sun Feb 27 15:52:00 GMT 2005


This proposed patch fixes PR libfortran/20101 by adding a special check 
for (value == 0) which has to be handled differently the case of a PE 
format.

Patch was *strapped regtested on i686-linux. OK for mainline and 4.0 
(this is a regression WRT g77)?


2005-05-27  François-Xavier Coudert  <coudert@clpper.ens.fr>

         PR libfortran/20101
         * write.c (output_float): Adding special check for value 0.0 in
           PE format. Correct typo in test.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr20101.diff
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050227/9f19eb24/attachment.ksh>


More information about the Fortran mailing list