From 6bd950bc765e00fb56733780d3705429d66e8498 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sun, 3 Nov 2013 20:40:46 +0000 Subject: [PATCH] Disable a workaround for icc-13* and aggressive optimization. The bug is not reproducable any more. git-svn-id: https://svn.dealii.org/trunk@31536 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/cmake/setup_compiler_flags_intel.cmake | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/deal.II/cmake/setup_compiler_flags_intel.cmake b/deal.II/cmake/setup_compiler_flags_intel.cmake index 44a3188c7e..d29abc6537 100644 --- a/deal.II/cmake/setup_compiler_flags_intel.cmake +++ b/deal.II/cmake/setup_compiler_flags_intel.cmake @@ -127,17 +127,7 @@ IF (CMAKE_BUILD_TYPE MATCHES "Release") # General optimization flags: # - IF(CMAKE_CXX_COMPILER_VERSION MATCHES "^13\\.") - # - # Disable aggressive optimization for intel-13* compilers, until we - # resolve a lot of funny miscompilations... - # - # - Maier, 2013 - # - ADD_FLAGS(DEAL_II_CXX_FLAGS_RELEASE "-O1") - ELSE() - ADD_FLAGS(DEAL_II_CXX_FLAGS_RELEASE "-O2") - ENDIF() + ADD_FLAGS(DEAL_II_CXX_FLAGS_RELEASE "-O2") # equivalent to -fno-strict-aliasing: ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS_RELEASE "-no-ansi-alias") -- 2.39.5