[gfortran, patch] PR libfortran/19155

François-Xavier Coudert fxcoudert@gmail.com
Fri Jun 17 15:39:00 GMT 2005


Last corner case of PR libfortran/19155, which still failed on AIX. We
relied on strtod returning either 0 or ERANGE, but it can return
EINVAL too. In that case (it happens when we it is passed an empty
string), we should proceed and not issue an error.

This is a very simple patch, regtested on i686-linux. OK for mainline
and 4.0? (I must admit I was tempted to commit this one as obvious)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr19155.diff
Type: text/x-patch
Size: 1440 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050617/8e651bb5/attachment.bin>


More information about the Gcc-patches mailing list