This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libfortran/32841] [4.3 regression] HUGE(1.0d0) is written a +Infinity on Darwin8



------- Comment #17 from dominiq at lps dot ens dot fr  2007-07-27 05:56 -------
Subject: Re:  [4.3 regression] HUGE(1.0d0) is written a
 +Infinity on Darwin8

> Maybe you could try to delete the conditional defines that redefine isfinite so
> that the native calls are used and see if the problem goes away.

I have done something slightly different, but with the same result,
I have moved line 167:

#undef isfinite

outside the 

#if defined(HAVE_BROKEN_ISFINITE) || defined(__CYGWIN__)

block. This change fixes the bug, edit_real_1.f90 pass.

Now the questions are 
(1) why HAVE_BROKEN_ISFINITE is not set by gcc 4.3 while it
is by gcc 4.2?
(2) if the isfinite used by C is working, why isfinite is
not working for libfortran?


-- 


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


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