This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/48977] -fpe-trap=denormal on x86 GLIBC systems
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 12 May 2011 19:55:49 +0000
- Subject: [Bug fortran/48977] -fpe-trap=denormal on x86 GLIBC systems
- Auto-submitted: auto-generated
- References: <bug-48977-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48977
--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2011-05-12 19:43:56 UTC ---
Why not just:
Index: configure.host
===================================================================
--- configure.host (revision 173705)
+++ configure.host (working copy)
@@ -20,12 +20,6 @@
# DEFAULTS
fpu_host='fpu-generic'
-# HOST-SPECIFIC OVERRIDES
-case "${host_cpu}" in
- i?86 | x86_64)
- fpu_host='fpu-387' ;;
-esac
-
# CONFIGURATION-SPECIFIC OVERRIDES
if test "x${have_feenableexcept}" = "xyes"; then
fpu_host='fpu-glibc'
@@ -39,6 +33,12 @@
fpu_host='fpu-aix'
fi
+# HOST-SPECIFIC OVERRIDES
+case "${host_cpu}" in
+ i?86 | x86_64)
+ fpu_host='fpu-387' ;;
+esac
+
# Some targets require additional compiler options for NaN/Inf.
ieee_flags=
case "${host_cpu}" in