This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29317] gfortran.dg/exponent_1.f90 failure
- From: "sgk at troutmask dot apl dot washington dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Oct 2006 14:22:32 -0000
- Subject: [Bug fortran/29317] gfortran.dg/exponent_1.f90 failure
- References: <bug-29317-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from sgk at troutmask dot apl dot washington dot edu 2006-10-02 14:22 -------
Subject: Re: New: gfortran.dg/exponent_1.f90 failure
On Mon, Oct 02, 2006 at 09:32:55AM -0000, fxcoudert at gcc dot gnu dot org
wrote:
> gfortran.dg/exponent_1.f90 is failing at all optimization levels on
> x86_64-linux (see http://gcc.gnu.org/ml/gcc-testresults/2006-10/msg00081.html).
> Here is the problem:
>
> $ cat exponent_1.f90
> real, parameter :: one = 1.0
> print *, exponent(one)
> if (exponent(one) /= 1.0) call abort
> end
What version of mpfr do you have? This test will
fail if the version is not 2.2.0 or newer.
If you have a good mpfr, then the problem may be
similar to the one with nearest_1.f90 where the extra
precision in the registers is bad (ie., add -ffloat-store
to the test).
One other possibility is the problem with subnormal
numbers is also affecting this test. I hope to look
into the subnormal issue later today.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29317