This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31971] Simple Fortran code fails with ICE
- 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: 22 May 2007 15:46:22 -0000
- Subject: [Bug fortran/31971] Simple Fortran code fails with ICE
- References: <bug-31971-11572@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from fxcoudert at gcc dot gnu dot org 2007-05-22 16:46 -------
(In reply to comment #6)
> I've reproduced the problem on the official 2007-05-18 snapshot.
Can you reproduce it with the binaries available from the following link?
http://quatramaran.ens.fr/~coudert/gfortran/gfortran-i686-linux-20070518.tar.gz
> Program received signal SIGILL, Illegal instruction.
> 0x086b7d19 in mpfr_ceil_double ()
> (gdb) where
> #0 0x086b7d19 in mpfr_ceil_double ()
> #1 0x086b7dd2 in mpfr_get_str_compute_g ()
> #2 0x086b8160 in mpfr_get_str ()
> #3 0x0829cb6e in real_from_mpfr (r=0xbf9a8af0, m=0x9c1dc4c, type=0xb7c81b64,
> rndmode=GMP_RNDN) at ../../gcc-4.3-20070518/gcc/real.c:5045
It looks pretty much like a MPFR miscompilation to me. Do you use the GMP/MPFR
libraries provided by the Fedora project, or do you use custom-made? In the
later case, did you run "make check" after compiling them?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31971