commit | 5ec7193faa7a5a78dd5382aec220a49f4a76a976 | [log] [tgz] |
---|---|---|
author | Harald Anlauf <anlauf@gmx.de> | Fri Feb 07 21:21:10 2025 +0100 |
committer | Harald Anlauf <anlauf@gmx.de> | Fri Feb 14 16:45:45 2025 +0100 |
tree | b943ee5d5e48bc979be416a7acc90cc29201d62f | |
parent | 3e7c48f4ee5e0d191dd10993fb4cf666c761ac1f [diff] |
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)