From 04bdd065b21089caed998e297d4466a7899aaba4 Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Tue, 6 May 2008 14:39:30 -0500 Subject: [svn-r14945] Maintenance: Disabled -O3 optimization for gcc 4.3 --- config/gnu-flags | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/gnu-flags b/config/gnu-flags index 30c82be..251d575 100644 --- a/config/gnu-flags +++ b/config/gnu-flags @@ -149,7 +149,7 @@ case "$cc_vendor-$cc_version" in gcc-2.95.[34]) PROD_CFLAGS="-O3" ;; - gcc-3.[0-4]*|gcc-4.[012]*) + gcc-3.[0-4]*|gcc-4.[0123]*) # The optimization level is reduced for gcc 3.* and 4.* due to problems # with code generation for src/H5Tconv.c with the -O2 & -O3 # optimization levels (which shows up as failures for various integer @@ -188,10 +188,10 @@ esac # the information from the previous version and adding modifications to that. case "$cc_vendor-$cc_version" in -# Closer to the gcc 4.1 release, we should check for additional flags to +# Closer to the gcc 4.4 release, we should check for additional flags to # include and break it out into it's own section, like the other versions # below. -QAK - gcc-4.[01]*) + gcc-4.[0123]*) # Replace -ansi flag with -std=c99 flag CFLAGS="`echo $CFLAGS | sed -e 's/-ansi/-std=c99/g'`" -- cgit v0.12