better debug for Intel LLVM compiler
This commit is contained in:
parent
6958829343
commit
d7a9b76ba9
|
@ -98,6 +98,9 @@ set (DEBUG_FLAGS "${DEBUG_FLAGS},uninit")
|
||||||
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fpe-all=0 -ftz")
|
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fpe-all=0 -ftz")
|
||||||
# ... capture all floating-point exceptions, need to overwrite -no-ftz
|
# ... capture all floating-point exceptions, need to overwrite -no-ftz
|
||||||
|
|
||||||
|
set (DEBUG_FLAGS "${DEBUG_FLAGS} -init=arrays,zero,minus_huge,snan")
|
||||||
|
# ... initialize logical to false, integer to -huge, float+complex to signaling NaN
|
||||||
|
|
||||||
# disable due to compiler bug https://community.intel.com/t5/Intel-Fortran-Compiler/false-positive-stand-f18-and-IEEE-SELECTED-REAL-KIND/m-p/1227336
|
# disable due to compiler bug https://community.intel.com/t5/Intel-Fortran-Compiler/false-positive-stand-f18-and-IEEE-SELECTED-REAL-KIND/m-p/1227336
|
||||||
#set (DEBUG_FLAGS "${DEBUG_FLAGS} -warn")
|
#set (DEBUG_FLAGS "${DEBUG_FLAGS} -warn")
|
||||||
# enables warnings ...
|
# enables warnings ...
|
||||||
|
|
Loading…
Reference in New Issue