This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/39314] -ffpe-trap=invalid gives no FPE for acos(-5.0)
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Feb 2009 18:03:50 -0000
- Subject: [Bug fortran/39314] -ffpe-trap=invalid gives no FPE for acos(-5.0)
- References: <bug-39314-16146@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from burnus at gcc dot gnu dot org 2009-02-26 18:03 -------
Confirm: Here, I get the same result with -m64 on Linux (NaN and no SIGFPE),
but with -m32 (with both -mfpmath=sse and -mfpmath=387) I get the SIGFPE.
The FPE settings are used in libgfortran/config/*; maybe fpu-387.h does
something wrong in the x86-64 mode?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39314