https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59252
--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:5ec7193faa7a5a78dd5382aec220a49f4a76a976 commit r14-11309-g5ec7193faa7a5a78dd5382aec220a49f4a76a976 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. (cherry picked from commit 818c36a85e3faec5442eb26799bfa3bba7764b36)