From cf6307188198ef966b7f734eb3e584c89bacccc5 Mon Sep 17 00:00:00 2001 From: Peter Klausler Date: Thu, 14 Aug 2025 16:43:57 -0700 Subject: [PATCH] [flang][tests] Disable Fortran/gfortran/regression/finalize_38.f90 One test case in finalize_38.f90 expects that an allocatable component of an expression result will not be finalized. The flang-new compiler is being updated by the pull request https://github.com/llvm/llvm-project/pull/153509 to ensure finalization of allocatables when they are deallocated, since this is an event that triggers finalization (F'2023 7.5.6.3p2) on a finalizable (3.71) data entity (3.41). --- Fortran/gfortran/regression/DisabledFiles.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Fortran/gfortran/regression/DisabledFiles.cmake b/Fortran/gfortran/regression/DisabledFiles.cmake index b2f467d8ef..5b9d02dd88 100644 --- a/Fortran/gfortran/regression/DisabledFiles.cmake +++ b/Fortran/gfortran/regression/DisabledFiles.cmake @@ -141,6 +141,9 @@ file(GLOB UNSUPPORTED_FILES CONFIGURE_DEPENDS # for accessing/modifying DUMMY arguments. # Also see https://flang.llvm.org/docs/Aliasing.html#cray-pointers cray_pointers_2.f90 + + # The "stop 171" case expects an incorrect number of finalizations. + finalize_38.f90 ) # These tests are skipped because they hit a 'not yet implemented' assertion