------- Comment #18 from howarth at nitro dot med dot uc dot edu  2006-11-01 
05:05 -------
Andrew,
     I'll post the preprocessed source for write.c shortly. I did a quick test
though moving...

#define isfinite(x) (fpclassify(x) != FP_NAN && fpclassify(x) != FP_INFINITE)

outside of the preprocessor statements so it is declared in libgfortran.h. This
eliminates the
incorrect evaluation of isfinite for the nan_inf_fmt testcase. If I move the
other form...

#define isfinite(x) ((x) - (x) == 0)

outside of the preprocessor statement, it fails as before so that form seems to
have a problem
with optimizations beyond -O0.


-- 


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

Reply via email to