https://gcc.gnu.org/g:ff4cf4b3a0b3153a5044815efa85052dce406213
commit ff4cf4b3a0b3153a5044815efa85052dce406213 Author: Mikael Morin <[email protected]> Date: Fri Oct 17 12:29:05 2025 +0200 Correction régression pr106918.f90 Diff: --- 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:
