[Bug libfortran/26252] FAIL: gfortran.fortran-torture/execute/nan_inf_fmt.f90 execution

dave at hiauly1 dot hia dot nrc dot ca gcc-bugzilla@gcc.gnu.org
Sat Aug 11 13:05:00 GMT 2007



------- Comment #7 from dave at hiauly1 dot hia dot nrc dot ca  2007-08-11 13:05 -------
Subject: Re:  FAIL: gfortran.fortran-torture/execute/nan_inf_fmt.f90 execution

> write_float uses isfinite (n) and isnan (n) to determine if "Infinite" or "NaN"
> is emitted and in that case exits before calling output_float.  So if execution
> is reaching output_float, one or both of the aforementioned functions is
> probably broken or configured incorrectly.

I tried the attached change.  It results in the correct configure
results.  However, the test still fails.  So, probably the isfinite
and isnan defines in libgfortran.h need checking.  Don't have time
to look at this until week after next.

Regard write_float, it looks as if output_float will be called without
any finite or nan checks for B, O and Z formats.

Dave


------- Comment #8 from dave at hiauly1 dot hia dot nrc dot ca  2007-08-11 13:05 -------
Created an attachment (id=14052)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14052&action=view)


-- 


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



More information about the Gcc-bugs mailing list