diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/gnu-flags | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/config/gnu-flags b/config/gnu-flags index afb451a..1a7a786 100644 --- a/config/gnu-flags +++ b/config/gnu-flags @@ -117,7 +117,20 @@ case "$cc_vendor-$cc_version" in # Production case "$cc_vendor-$cc_version" in - gcc-2.95.[34]|gcc-3*) + gcc-2.95.[34]) + PROD_CFLAGS="-O3 $NOFP" + ;; + gcc-3.[0-3]*) + # The optimization level is reduced for gcc 3.* due to problems + # with code generation for src/H5Tconv.c with the -O2 & -O3 + # optimization levels for gcc 3.2.2 and gcc 3.3.2 (which shows up as + # failures for various integer types -> long long conversions in the + # test/dtypes test). Perhaps later versions of gcc will fix this + # bug... - QAK - 2003/10/20 + PROD_CFLAGS="-O $NOFP" + ;; + gcc-3*) + # Be optimistic about future versions of gcc.. :-) - QAK - 2003/10/20 PROD_CFLAGS="-O3 $NOFP" ;; *) |