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

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

https://gcc.gnu.org/g:1611acc1f72cad30c7ecccb5c85246836c1d0299

commit r11-11299-g1611acc1f72cad30c7ecccb5c85246836c1d0299
Author: Harald Anlauf <anl...@gmx.de>
Date:   Thu Mar 28 22:34:40 2024 +0100

    Fortran: fix NULL pointer dereference on overlapping initialization
[PR50410]

    gcc/fortran/ChangeLog:

            PR fortran/50410
            * trans-expr.c (gfc_conv_structure): Check for NULL pointer.

    gcc/testsuite/ChangeLog:

            PR fortran/50410
            * gfortran.dg/data_initialized_4.f90: New test.

    (cherry picked from commit 6fb253a25dff13253d63553f02e0fe72c5e3ab4e)

Reply via email to