From b281a2e9c7ceb206087ad57590796f49ecf4d7f1 Mon Sep 17 00:00:00 2001 From: Tom Eccles Date: Fri, 2 Feb 2024 18:09:23 +0000 Subject: [PATCH 1/2] [Fortran] mark rhs LEN parameter tests as implemented char_length_2{0,1}.f90 were fixed in https://github.com/llvm/llvm-project/pull/80412. Now that these successfully compile I thought I might as well re-categorise the other tests in the same group too. --- .../gfortran/regression/DisabledFiles.cmake | 30 +++++-------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/Fortran/gfortran/regression/DisabledFiles.cmake b/Fortran/gfortran/regression/DisabledFiles.cmake index 55cbdaa409..706644e4a8 100644 --- a/Fortran/gfortran/regression/DisabledFiles.cmake +++ b/Fortran/gfortran/regression/DisabledFiles.cmake @@ -717,29 +717,6 @@ file(GLOB UNIMPLEMENTED_FILES CONFIGURE_DEPENDS pr50769.f90 realloc_on_assign_16a.f90 - # unimplemented: gather rhs LEN parameters in assignment to allocatable - allocate_assumed_charlen_4.f90 - allocate_error_5.f90 - associate_58.f90 - bounds_check_22.f90 - char_length_20.f90 - char_length_21.f90 - deferred_character_1.f90 - deferred_character_14.f90 - deferred_character_2.f90 - deferred_character_21.f90 - deferred_character_22.f90 - deferred_character_27.f90 - deferred_character_34.f90 - deferred_character_4.f90 - deferred_character_7.f90 - dependency_50.f90 - dependency_51.f90 - elemental_function_3.f90 - elemental_function_2.f90 - realloc_on_assign_14.f90 - widechar_11.f90 - # unimplemented: passing dynamically optional argument to elemental procedures bounds_check_9.f90 bounds_check_fail_2.f90 @@ -988,6 +965,9 @@ file(GLOB UNIMPLEMENTED_FILES CONFIGURE_DEPENDS forall_3.f90 pr49698.f90 + # unimplemented: compute elemental function result length parameters in HLFIR + elemental_function_3.f90 + # These tests are NYI: support for polymorphic types; when polymorphic # type support is enabled by option, they pass. Delete these when # polymorphic types are enabled by default. @@ -1960,6 +1940,7 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS widechar_intrinsics_8.f90 write_check.f90 zero_sized_1.f90 + elemental_function_2.f90 # --------------------------------------------------------------------------- # @@ -2760,4 +2741,7 @@ file(GLOB FAILING_FILES CONFIGURE_DEPENDS # Requires -ffloat-store nearest_1.f90 + + # Requires -fcheck=mem + allocate_error_5.f90 ) From a4f3bf377c7f7dc1cd15a818d0d30c45e7891999 Mon Sep 17 00:00:00 2001 From: Tom Eccles Date: Mon, 5 Feb 2024 11:01:33 +0000 Subject: [PATCH 2/2] Disable widechar_11 --- Fortran/gfortran/regression/DisabledFiles.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Fortran/gfortran/regression/DisabledFiles.cmake b/Fortran/gfortran/regression/DisabledFiles.cmake index 706644e4a8..2c48c33e7b 100644 --- a/Fortran/gfortran/regression/DisabledFiles.cmake +++ b/Fortran/gfortran/regression/DisabledFiles.cmake @@ -1205,6 +1205,7 @@ file(GLOB SKIPPED_FILES CONFIGURE_DEPENDS pr106918.f90 # NYI: dynamic character length in struct constr pr92050.f90 # needs -fcheck=all winapi.f90 # needs -lkernel32 and target *-*-cygwin* + widechar_11.f90 # No ASSIGNMENT matches TYPE(c_ptr) and TYPE(__builtin_c_ptr) # error: 'fir.convert' op invalid type conversion achar_4.f90