Skip to content

Commit 7527e72

Browse files
authored
[flang] Disable some tests whose errors are now warnings (#83)
Recent changes to generic interface analysis have reduced a previous hard error message to an optional warning. These tests must be run with -pedantic -Werror to cause compilation to fail. Until I can figure out how to make that happen, disable those tests so that build bots don't fail.
1 parent 3bd693f commit 7527e72

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

Fortran/gfortran/regression/DisabledFiles.cmake

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2213,6 +2213,23 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
22132213
whole_file_1.f90
22142214
whole_file_2.f90
22152215

2216+
# Tests that used to be hard errors, are now warnings, need -pedantic to
2217+
# observe them
2218+
generic_32.f90
2219+
generic_34.f90
2220+
generic_7.f90
2221+
interface_37.f90
2222+
interface_6.f90
2223+
pr77406.f90
2224+
pr95584.f90
2225+
typebound_generic_10.f03
2226+
typebound_generic_11.f90
2227+
typebound_generic_12.f03
2228+
typebound_generic_13.f03
2229+
typebound_operator_14.f90
2230+
typebound_operator_16.f03
2231+
deallocate_error_2.f90
2232+
22162233
# Tests that would be errors if we supported options to enable checks
22172234
dec_structure_24.f90
22182235
dec_structure_26.f90

Fortran/gfortran/regression/c-interop/DisabledFiles.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,8 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
144144
# These files are expected to fail to compile, but succeed instead.
145145
c516.f90
146146
c524a.f90
147+
148+
# Tests that used to be hard errors, are now warnings, need -pedantic to
149+
# observe them
150+
tkr.f90
147151
)

0 commit comments

Comments
 (0)