[svn-r13939] Problem: High level of optimazation causes test failures when library is built

with Intel 10.0 compiler. 
Solution: Use -O1 optimization flag with Intel 10.0

Platforms tested: abe and kagiso with Intel 10.0 and Intel 9.1 compilers; no committest
                  is needed since this is a compiler specific change.
This commit is contained in:
Elena Pourmal 2007-07-04 21:46:31 -05:00
parent dbe1a47e93
commit 7bce23170f

View File

@ -98,6 +98,9 @@ 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-10.0*)
PROD_CFLAGS="-O1 -Wl,-s"
;;
icc-8.0*)
# v8.0 -O3 infinite loops when compiling test/tselect.c. Use -O2.
PROD_CFLAGS="-O2 -Wl,-s"