Skip to content

Commit 2f52e87

Browse files
authored
[flang][test] Disable three tests (#43)
Flang now allows a superfluous CONTIGUOUS attribute to appear on objects that are simply contiguous or scalar. Disable three gfortran tests that check for errors in these cases.
1 parent 2832737 commit 2f52e87

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Fortran/gfortran/regression/DisabledFiles.cmake

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2500,6 +2500,12 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
25002500
is_contiguous_1.f90
25012501
is_contiguous_3.f90
25022502

2503+
# Flang allows a redundant 'contiguous' attribute on scalars and on arrays
2504+
# that are simply contiguous (not pointers or assumed-shape/rank).
2505+
contiguous_6.f90
2506+
contiguous_9.f90
2507+
pr95503.f90
2508+
25032509
# Tests that are errors in gfortran but for which we emit adequate warnings; might need to use -pedantic to see them
25042510
achar_3.f90
25052511
achar_5.f90

0 commit comments

Comments
 (0)