Skip to content

Commit 7dc8638

Browse files
committed
Fix typos. Disable test that fails at -O0 but passes at higher optimization levels
1 parent f95d671 commit 7dc8638

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Fortran/gfortran/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ function(gfortran_populate_tests)
810810
list(TRANSFORM sources PREPEND ${CMAKE_CURRENT_SOURCE_DIR}/)
811811

812812
# Multi-file tests consist of a "main" file and a number of (possibly
813-
# non-Fortran dependents). This the list of dependents.
813+
# non-Fortran) dependents. This is the list of dependents.
814814
set(rest)
815815

816816
# The tests in the configuration must be added to the used list even if the

Fortran/gfortran/regression/DisabledFiles.cmake

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,10 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
10861086
pointer_check_3.f90
10871087
pointer_check_4.f90
10881088

1089+
# This test fails with "STOP: code 2" when compiled with -O0, but passes at
1090+
# higher optimization levels.
1091+
pr117797.f90
1092+
10891093
# ---------------------------------------------------------------------------
10901094
#
10911095
# These tests are expected to raise a runtime error, but currently don't.

0 commit comments

Comments
 (0)