Skip to content

Commit

Permalink
[Fortran/gfortran] Disable test that requires -std=f2008
Browse files Browse the repository at this point in the history
Since llvm/llvm-project#87501 flang reports
the correct error code which causes this test to fail loudly.

It always was failing because the test does not work with -std=f2018
which is flang's default (and only) option.

I've confirmed that with gfortran-13 the test passes with -std=f2008
and fails (without output matching flang's) with -std=f2018.
  • Loading branch information
DavidSpickett committed Apr 5, 2024
1 parent 95a9f0d commit 10275ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Fortran/gfortran/regression/DisabledFiles.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -1322,6 +1322,9 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS
pr91564.f90
rank_3.f90

# Requires behaviour specific to -std=f2008 and fails with -std=f2018.
finalize_38a.f90

# Tests that use -std=... to enable checks that no longer apply in modern Fortran.
# Module variable with derived type default initialization requires explicit SAVE
default_initialization_1.f90
Expand Down

0 comments on commit 10275ac

Please sign in to comment.