[gfortran] patch PR libfortran/19155

François-Xavier Coudert Francois-Xavier.Coudert@lcp.u-psud.fr
Mon May 9 09:58:00 GMT 2005


I propose this patch to fix PR libfortran/19115. With this patch, the I/O 
library accepts 'E+00' as a valid real number (with value 0.0). The standard 
says it is not a valid real number, but doesn't require an error.

Reasons for this choice: g77 accepts it, as well as numerous other Fortran 
compilers (Intel, Portland, Sun, IBM). It is even part of the NIST testsuite 
(one of the last NIST failures for gfortran).

Regtested on i386-linux. OK for mainline and 4.0?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pr19155.ChangeLog
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050509/0aa2f178/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr19155.diff
Type: text/x-patch
Size: 628 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050509/0aa2f178/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr19155.f
Type: text/x-fortran
Size: 401 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20050509/0aa2f178/attachment-0001.bin>


More information about the Fortran mailing list