polishing
thread sanitizer throws warnings, probably because off 'terminallyIll'
This commit is contained in:
parent
ee3d3b75c7
commit
20c9549198
|
@ -131,8 +131,10 @@ set (DEBUG_FLAGS "${DEBUG_FLAGS} -fcheck=all")
|
||||||
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fstack-protector-all")
|
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fstack-protector-all")
|
||||||
# Inserts a guard variable onto the stack frame for all functions
|
# Inserts a guard variable onto the stack frame for all functions
|
||||||
|
|
||||||
# Detect memory leaks
|
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fsanitize=undefined")
|
||||||
# -fsanitize=address
|
# detect undefined behavior
|
||||||
|
# Additional options
|
||||||
|
# -fsanitize=address,leak,thread
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------------------------
|
||||||
# precision settings
|
# precision settings
|
||||||
|
|
|
@ -1819,7 +1819,7 @@ subroutine storeGeometry(ph)
|
||||||
|
|
||||||
integer, intent(in) :: ph
|
integer, intent(in) :: ph
|
||||||
|
|
||||||
integer :: ip, el, ce, co
|
integer :: ce, co
|
||||||
real(pReal), dimension(:), allocatable :: V
|
real(pReal), dimension(:), allocatable :: V
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue