This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch,fortran] PRs 19363 and 19691, Cygwin failure in formatted write of Inf and NaN


On Mon, Jan 31, 2005 at 11:34:13PM +0100, Steven Bosscher wrote:
> On Monday 31 January 2005 23:25, Paul Thomas wrote:
> > This also fixes the testsuite failures, under Cygwin, of complex_write.f90,
> > fmt_read.f90 and nan_inf_fmt.f90. No extra compilation warnings. Regtested
> > under CYGWIN_NT-5.1 and RedHat9.
> >
> >  PR libfortran/19363 and 19691
> > 	* io/write.c (write_float): gfc_isfinite(x): macro substitution for Cygwin
> > of broken isfinite(x) with finite(x).
> 
> Nope.  If anywhere, this should be fixed in the configure test
> that we have for this, or in libgfortran.h.  I'd prefer the
> former.
> What is broken about them on Cygwin anyway?
> 

How do you fix configure?  AFAIK, configure only 
compiles a test code to ensure that math.h defines
isfinite().  It does not actually test to see if
isfinite() actually works.  isfinite() is defined
on Cygwin, but it does not work.


-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]