https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59252
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:818c36a85e3faec5442eb26799bfa3bba7764b36 commit r15-7433-g818c36a85e3faec5442eb26799bfa3bba7764b36 Author: Harald Anlauf <anl...@gmx.de> Date: Fri Feb 7 21:21:10 2025 +0100 Fortran: fix initialization of allocatable non-deferred character [PR59252] PR fortran/59252 gcc/fortran/ChangeLog: * trans-expr.cc (gfc_trans_subcomponent_assign): Initialize allocatable non-deferred character with NULL properly. gcc/testsuite/ChangeLog: * gfortran.dg/allocatable_char_1.f90: New test.