[svn-r11834] Purpose:

Bug fix

Description:
    Tone down the optimization flags for gcc 4.2.x in the same way as we
do for all the other gcc 3/4 builds, to avoid datatype conversion issues.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/gcc 4.2
    Not tested by h5committest
This commit is contained in:
Quincey Koziol 2005-12-24 01:43:05 -05:00
parent 617d2704c4
commit bee84bf3b9

View File

@ -142,7 +142,7 @@ case "$cc_vendor-$cc_version" in
gcc-2.95.[34]) gcc-2.95.[34])
PROD_CFLAGS="-O3" PROD_CFLAGS="-O3"
;; ;;
gcc-3.[0-4]*|gcc-4.[01]*) gcc-3.[0-4]*|gcc-4.[012]*)
# The optimization level is reduced for gcc 3.* and 4.* due to problems # The optimization level is reduced for gcc 3.* and 4.* due to problems
# with code generation for src/H5Tconv.c with the -O2 & -O3 # with code generation for src/H5Tconv.c with the -O2 & -O3
# optimization levels (which shows up as failures for various integer # optimization levels (which shows up as failures for various integer