diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2004-12-06 22:18:11 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2004-12-06 22:18:11 (GMT) |
commit | c6ea65a67e6d9b5e5a23147d365e2b83e842ebd1 (patch) | |
tree | 3440696f8c79bc78d39cb76736c7bf27dd267e44 | |
parent | 4f8b4ba1113558de8dd2a4de2b03166f0c94d086 (diff) | |
download | hdf5-c6ea65a67e6d9b5e5a23147d365e2b83e842ebd1.zip hdf5-c6ea65a67e6d9b5e5a23147d365e2b83e842ebd1.tar.gz hdf5-c6ea65a67e6d9b5e5a23147d365e2b83e842ebd1.tar.bz2 |
[svn-r9619] 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-flags | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/config/intel-flags b/config/intel-flags index 1588189..dd19a9b 100644 --- a/config/intel-flags +++ b/config/intel-flags @@ -78,17 +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 - |