From ff4cf4b3a0b3153a5044815efa85052dce406213 Mon Sep 17 00:00:00 2001 From: Mikael Morin Date: Fri, 17 Oct 2025 12:29:05 +0200 Subject: [PATCH] =?UTF-8?q?Correction=20r=C3=A9gression=20pr106918.f90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gcc/fortran/trans-types.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/fortran/trans-types.cc b/gcc/fortran/trans-types.cc index 719045002455..9e8f2701b24f 100644 --- a/gcc/fortran/trans-types.cc +++ b/gcc/fortran/trans-types.cc @@ -1401,8 +1401,7 @@ gfc_typenode_for_spec (gfc_typespec * spec, int codim) break; case BT_CHARACTER: - basetype = gfc_get_character_type (spec->kind, - spec->deferred ? nullptr : spec->u.cl); + basetype = gfc_get_character_type (spec->kind, spec->u.cl); break; case BT_HOLLERITH: