------- Comment #6 from dave at hiauly1 dot hia dot nrc dot ca  2007-08-10 
04:42 -------
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.

It looks like the configure tests are broken:
checking whether isfinite is broken... no
checking whether isnan is broken... no
checking whether fpclassify is broken... no

The cross compile settings are broken.

hpux10 doesn't have the isfinite, isnan or fpclassify  macros.  The
available checks are the finite, isnan and fpclassify functions for
doubles; finitef, and isnanf and fpclassifyf for floats.  There are
no functions for long doubles.  Looking at the configure tests, I
think they should return 1 when the macros don't exist.

hpux11 has macros when -D_HPUX_SOURCE is defined.  However, there
is no long double support.  So, the configure tests probably correctly
fail.

Dave


-- 


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

Reply via email to