Skip to content

Commit 72a946a

Browse files
authored
[test-suite][Fortran] Ignore -fstrict-aliasing and -fschedule-insns (#77)
Ignore these flags as they are currently not supported by flang. Also re-enable pr43808.f90 test, that passes with this change.
1 parent 8cfef2e commit 72a946a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Fortran/gfortran/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,10 @@ set(FLANG_ERRORING_FFLAGS
146146
-fpeel-loops
147147
-frecursive
148148
-fsanitize=undefined
149+
-fschedule-insns
149150
-fset-g77-defaults
150151
-fshort-enums
152+
-fstrict-aliasing
151153
-ftest-forall-temp
152154
-ftree-loop-distribution
153155
-ftree-loop-vectorize

Fortran/gfortran/regression/DisabledFiles.cmake

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1815,9 +1815,6 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS
18151815
pr93524.f90
18161816
public_private_module_3.f90
18171817
static_linking_1.f
1818-
1819-
# error: unknown argument" due to '-fschedule-insns' and '-fstrict-aliasing'.
1820-
pr43808.f90
18211818
)
18221819

18231820
# These tests are disabled because they fail when they are expected to pass.

0 commit comments

Comments
 (0)