This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/48977] -fpe-trap=denormal on x86 GLIBC systems


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]