Disable gfortran tree vectorizer to avoid gcc11+ miscompilation at O3

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

View File

@ -6,6 +6,9 @@ TOPDIR = ..
include $(TOPDIR)/Makefile.system
override CFLAGS += -DADD$(BU) -DCBLAS
ifeq ($(F_COMPILER),GFORTRAN)
override FFLAGS += -fno-tree-vectorize
endif
override TARGET_ARCH=
override TARGET_MACH=