Skip to content

Commit 6e0963c

Browse files
committed
260205.224905.CET add -mmlir -fdynamic-heap-array to the flags of armflang, when the test is big, or stack overflows will happen
1 parent 6452d9a commit 6e0963c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fortran/tests/makefiles/Makefile.common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ RFORT := $(shell find -L /opt/arm -type f -name armflang -exec test -x {} \; -pr
651651
ifeq ($(TESTDIM),small)
652652
RFORT := $(RFORT) -fstack-arrays
653653
else
654-
RFORT := $(RFORT) -fno-stack-arrays
654+
RFORT := $(RFORT) -fno-stack-arrays -mmlir -fdynamic-heap-array
655655
endif
656656
RFORT := $(RFORT) -std=f2018 -pedantic -Wall # As of 21.1, only f2018 is supported.
657657
ifeq ($(OSTYPE),LINUX)

0 commit comments

Comments
 (0)