do not include math modules in the default -O3 optimization set
authorRich Felker <dalias@aerifal.cx>
Thu, 25 Jul 2013 03:21:45 +0000 (23:21 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 25 Jul 2013 03:21:45 +0000 (23:21 -0400)
it's not clear that -O3 helps them, and gcc seems to have floating
point optimization bugs that introduce additional failures when -O3 is
used on some of these files.

configure

index 327863c..87207b6 100755 (executable)
--- a/configure
+++ b/configure
@@ -264,7 +264,7 @@ xno|x) printf "disabled\n" ; optimize=no ;;
 esac
 
 test "$optimize" = no || tryflag CFLAGS_AUTO -Os || tryflag CFLAGS_AUTO -O2
-test "$optimize" = yes && optimize="internal,malloc,math,string"
+test "$optimize" = yes && optimize="internal,malloc,string"
 
 if fnmatch 'no|size' "$optimize" ; then :
 else