summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2004-12-06 21:40:51 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2004-12-06 21:40:51 (GMT)
commit0f82ae3d2a641a4528e5465e9b623021dbd6249f (patch)
tree6d81941d61bda86221baf92cfe8950761188bb16
parentc3dfdfc23cf97b37b3e971c0e261acc139a6afc3 (diff)
downloadhdf5-0f82ae3d2a641a4528e5465e9b623021dbd6249f.zip
hdf5-0f82ae3d2a641a4528e5465e9b623021dbd6249f.tar.gz
hdf5-0f82ae3d2a641a4528e5465e9b623021dbd6249f.tar.bz2
[svn-r9618] Purpose:
Bug fix. Description: v8.0 -O3 infinite loops when compiling test/tselect.c. Use -O2. Platforms tested: Only tested in TG-NCSA, use both default and --disable-production options.
-rw-r--r--config/intel-flags22
1 files changed, 12 insertions, 10 deletions
diff --git a/config/intel-flags b/config/intel-flags
index 3f43132..dd19a9b 100644
--- a/config/intel-flags
+++ b/config/intel-flags
@@ -78,18 +78,20 @@ fi
# Please follow the pattern below by adding new versions at the top, copying
# the information from the previous version and adding modifications to that.
case "$cc_vendor-$cc_version" in
- icc-8.1*)
- # Add C99 standard flag to enable definition of ULLONG_MAX because in Intel
- # compiler header file limits.h, C99 has to be enable to define this macro.
- # Compilers of Version 8 and before don't have this problem.
- CFLAGS="$CFLAGS -std=c99"
- ;;
+ icc-8.0*)
+ # v8.0 -O3 infinite loops when compiling test/tselect.c. Use -O2.
+ PROD_CFLAGS="-O2"
+ ;;
+ icc-8.1*)
+ # Add C99 standard flag to enable definition of ULLONG_MAX because in Intel
+ # compiler header file limits.h, C99 has to be enable to define this macro.
+ # Compilers of Version 8 and before don't have this problem.
+ CFLAGS="$CFLAGS -std=c99"
+ ;;
esac
# Clear cc info if no flags set
if test "X-$cc_flags_set" = "X-"; then
- cc_vendor=
- cc_version=
+ cc_vendor=
+ cc_version=
fi
-
-