diff --git a/cmake/Compiler-Intel.cmake b/cmake/Compiler-Intel.cmake index 69aee45ae..d68eac50b 100644 --- a/cmake/Compiler-Intel.cmake +++ b/cmake/Compiler-Intel.cmake @@ -93,8 +93,6 @@ set (DEBUG_FLAGS "${DEBUG_FLAGS},pointers") # ... for certain disassociated or uninitialized pointers or unallocated allocatable objects. set (DEBUG_FLAGS "${DEBUG_FLAGS},uninit") # ... for uninitialized variables. -set (DEBUG_FLAGS "${DEBUG_FLAGS} -ftrapuv") -# ... initializes stack local variables to an unusual value to aid error detection set (DEBUG_FLAGS "${DEBUG_FLAGS} -fpe-all=0 -ftz") # ... capture all floating-point exceptions, need to overwrite -no-ftz diff --git a/cmake/Compiler-IntelLLVM.cmake b/cmake/Compiler-IntelLLVM.cmake index 23cb285c1..f2fb8bce9 100644 --- a/cmake/Compiler-IntelLLVM.cmake +++ b/cmake/Compiler-IntelLLVM.cmake @@ -95,8 +95,6 @@ set (DEBUG_FLAGS "${DEBUG_FLAGS},pointers") # ... for certain disassociated or uninitialized pointers or unallocated allocatable objects. set (DEBUG_FLAGS "${DEBUG_FLAGS},uninit") # ... for uninitialized variables. -set (DEBUG_FLAGS "${DEBUG_FLAGS} -ftrapuv") -# ... initializes stack local variables to an unusual value to aid error detection set (DEBUG_FLAGS "${DEBUG_FLAGS} -fpe-all=0 -ftz") # ... capture all floating-point exceptions, need to overwrite -no-ftz