Force compilation with O0 to avoid spurious failures from gfortran misoptimization

This commit is contained in:
Martin Kroeker 2024-04-29 15:46:05 +02:00 committed by GitHub
parent cc735a87d9
commit bc8ae2af74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
TOPDIR = .. TOPDIR = ..
include ../Makefile.system include ../Makefile.system
ifeq ($(F_COMPILER),GFORTRAN) ifeq ($(F_COMPILER),GFORTRAN)
override FFLAGS = $(filter_out(-O2 -O3,$(FFLAGS)) -O0
override FFLAGS += -fno-tree-vectorize override FFLAGS += -fno-tree-vectorize
endif endif