This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/26252] FAIL: gfortran.fortran-torture/execute/nan_inf_fmt.f90 execution
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2007 13:05:09 -0000
- Subject: [Bug libfortran/26252] FAIL: gfortran.fortran-torture/execute/nan_inf_fmt.f90 execution
- References: <bug-26252-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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