This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29317] New: gfortran.dg/exponent_1.f90 failure
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Oct 2006 09:32:55 -0000
- Subject: [Bug fortran/29317] New: gfortran.dg/exponent_1.f90 failure
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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
$ gfortran -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../trunk/configure --prefix=/utmp/coudert/gfortran/irun
--enable-languages=c,fortran : (reconfigured) ../trunk/configure
--prefix=/utmp/coudert/gfortran/irun --enable-languages=c,fortran
--enable-maintainer-mode : (reconfigured) ../trunk/configure
--prefix=/utmp/coudert/gfortran/irun --enable-languages=c,fortran
--enable-maintainer-mode
Thread model: posix
gcc version 4.2.0 20061001 (experimental)
$ gfortran -static exponent_1.f90 && ./a.out
0
zsh: abort ./a.out
--
Summary: gfortran.dg/exponent_1.f90 failure
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
GCC build triplet: x86_64-unkown-linux-gnu
GCC host triplet: x86_64-unkown-linux-gnu
GCC target triplet: x86_64-unkown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29317