Skip to content

Commit 591c457

Browse files
authored
[Fortran/gfortran] Permanently disable non-confirming test
A comment has been added describing why the test is non-conforming. For more details, see llvm/llvm-project#139754
1 parent 549863a commit 591c457

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Fortran/gfortran/regression/DisabledFiles.cmake

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,16 @@ file(GLOB UNSUPPORTED_FILES CONFIGURE_DEPENDS
141141
# for accessing/modifying DUMMY arguments.
142142
# Also see https://flang.llvm.org/docs/Aliasing.html#cray-pointers
143143
cray_pointers_2.f90
144+
145+
# This program is not conforming Fortran in two ways. The pointer returned
146+
# from bar points to an actual argument (namely a function result value
147+
# returned from build) that is not a target or pointer, and it must not be
148+
# referenced afterwards. Second, the array returned from evaluate is allocated
149+
# to 8 elements, but the comparison in the line with stop 2 compares it
150+
# against an array constructor with only four elements.
151+
#
152+
# https://github.com/llvm/llvm-project/issues/139754#issuecomment-3336027989
153+
pr117797.f90
144154
)
145155

146156
# These tests are skipped because they hit a 'not yet implemented' assertion
@@ -965,10 +975,6 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
965975
do_check_1.f90
966976
random_3.f90
967977

968-
# This test fails with "STOP: code 2" when compiled with -O0, but passes at
969-
# higher optimization levels.
970-
pr117797.f90
971-
972978
# ---------------------------------------------------------------------------
973979
#
974980
# These tests are expected to raise a runtime error, but currently don't.

0 commit comments

Comments
 (0)