Commit e88334a6 by Paul Thomas Committed by Steven Bosscher

re PR libfortran/19363 (List directed write of Infinity and NaN has regressed)

2005-02-01  Paul Thomas <paulthomas2@wanadoo.fr>

	PR libgfortran/19363
	PR libgfortran/19691
	* libgfortran.h (isfinite): Work around broken isfinite(x) in Cygwin.

From-SVN: r94530
parent 9c0a30c3
2005-02-01 Paul Thomas <paulthomas2@wanadoo.fr>
PR libgfortran/19363
PR libgfortran/19691
* libgfortran.h (isfinite): Work around broken isfinite(x) in Cygwin.
2005-01-30 Bud Davis <bdavis@gfortran.org> 2005-01-30 Bud Davis <bdavis@gfortran.org>
PR fortran/19647 PR fortran/19647
......
...@@ -171,9 +171,14 @@ typedef off_t gfc_offset; ...@@ -171,9 +171,14 @@ typedef off_t gfc_offset;
/* The isfinite macro is only available with C99, but some non-C99 /* The isfinite macro is only available with C99, but some non-C99
systems still provide fpclassify, and there is a `finite' function systems still provide fpclassify, and there is a `finite' function
in BSD. When isfinite is not available, try to use one of the in BSD.
Also, isfinite is broken on Cygwin.
When isfinite is not available, try to use one of the
alternatives, or bail out. */ alternatives, or bail out. */
#if !defined(isfinite) #if (!defined(isfinite) || defined(__CYGWIN__))
#undef isfinite
static inline int static inline int
isfinite (double x) isfinite (double x)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment