[gfortran, patch] PR libfortran/19155

Steve Kargl sgk@troutmask.apl.washington.edu
Fri Jun 17 16:15:00 GMT 2005


On Fri, Jun 17, 2005 at 05:39:03PM +0200, Fran?ois-Xavier Coudert wrote:
> 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)

OK.

-- 
Steve



More information about the Gcc-patches mailing list