From b018e9589e932dcad4495a4bb2cd528087b8e78d Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Tue, 15 Aug 2006 13:56:44 -0500 Subject: [svn-r12579] Description: -O3 flag causes compilation problems on most of the platforms with Intel compiler. The problem exists in all vesrions of icc compiler up to the newest 9.1 Solution: Use less agressive default setting O2 to avoid headache Platforms tested: Linux 2.6 ia64 at UCAR (hal), cobalt (NCSA) --- config/intel-flags | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/intel-flags b/config/intel-flags index 2403c30..3af224a 100644 --- a/config/intel-flags +++ b/config/intel-flags @@ -71,7 +71,11 @@ if test "X-icc" = "X-$cc_vendor"; then # Production # -Wl,-s to remove all symbols for smaller file - PROD_CFLAGS="-O3 -Wl,-s" + # O3 optimization causes compilation failures on many platforms; + # the problem exists in all versions of the icc compiler up to the latest 9.1 + # I changed optimization flag to default -O2. EIP, 2006-08-15 + #PROD_CFLAGS="-O3 -Wl,-s" + PROD_CFLAGS="-O2 -Wl,-s" PROD_CPPFLAGS= # Debug -- cgit v0.12