From 6d3e3a580f069e27c497dd126fd45271e2e5df94 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 4 Mar 2023 10:42:25 +0100 Subject: [PATCH] causes internal compiler error on oneAPI anyways not recommended according to Steve Lionel --- cmake/Compiler-Intel.cmake | 2 -- cmake/Compiler-IntelLLVM.cmake | 2 -- 2 files changed, 4 deletions(-) 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