From bc8ae2af74ac5a4136e377c1e8429ac58bc19fd5 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 29 Apr 2024 15:46:05 +0200 Subject: [PATCH] Force compilation with O0 to avoid spurious failures from gfortran misoptimization --- test/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Makefile b/test/Makefile index 6a50b6c98..ec2a86fcf 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,6 +1,7 @@ TOPDIR = .. include ../Makefile.system ifeq ($(F_COMPILER),GFORTRAN) + override FFLAGS = $(filter_out(-O2 -O3,$(FFLAGS)) -O0 override FFLAGS += -fno-tree-vectorize endif