polishing

thread sanitizer throws warnings, probably because off 'terminallyIll'
This commit is contained in:
Martin Diehl 2021-03-27 18:00:13 +01:00
parent ee3d3b75c7
commit 20c9549198
2 changed files with 5 additions and 3 deletions

View File

@ -131,8 +131,10 @@ set (DEBUG_FLAGS "${DEBUG_FLAGS} -fcheck=all")
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fstack-protector-all")
# Inserts a guard variable onto the stack frame for all functions
# Detect memory leaks
# -fsanitize=address
set (DEBUG_FLAGS "${DEBUG_FLAGS} -fsanitize=undefined")
# detect undefined behavior
# Additional options
# -fsanitize=address,leak,thread
#------------------------------------------------------------------------------------------------
# precision settings

View File

@ -1819,7 +1819,7 @@ subroutine storeGeometry(ph)
integer, intent(in) :: ph
integer :: ip, el, ce, co
integer :: ce, co
real(pReal), dimension(:), allocatable :: V