https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59252

--- Comment #10 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Harald Anlauf
<anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:0c3061fe7367b378eb8adf4845fde914faca1f40

commit r13-9384-g0c3061fe7367b378eb8adf4845fde914faca1f40
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)
  • [Bug fortran/59252] [F03] wrong... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to