Disable gfortran tree vectorizer to avoid gcc11+ miscompilation at O3

This commit is contained in:
Martin Kroeker 2021-07-30 14:46:19 +02:00 committed by GitHub
parent e78fbe4654
commit 5dc6aa74f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
TOPDIR = ..
include ../Makefile.system
ifeq ($(F_COMPILER),GFORTRAN)
override FFLAGS += -fno-tree-vectorize
endif
ifeq ($(NOFORTRAN),1)
all ::