This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/32841] [4.3 regression] HUGE(1.0d0) is written a +Infinity on Darwin8
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2007 05:56:27 -0000
- Subject: [Bug libfortran/32841] [4.3 regression] HUGE(1.0d0) is written a +Infinity on Darwin8
- References: <bug-32841-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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