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

--- Comment #5 from CVS 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:1645998adcba19d69634dad3baaf54a9c0a258ed

commit r11-8812-g1645998adcba19d69634dad3baaf54a9c0a258ed
Author: Harald Anlauf <anl...@gmx.de>
Date:   Wed Jul 21 18:54:00 2021 +0200

    Fortran: ICE, OOM while calculating sizes of derived type array components

    gcc/fortran/ChangeLog:

            PR fortran/101514
            * target-memory.c (gfc_interpret_derived): Size of array component
            of derived type can only be computed here for explicit shape.
            * trans-types.c (gfc_get_nodesc_array_type): Do not dereference
            NULL pointers.

    gcc/testsuite/ChangeLog:

            PR fortran/101514
            * gfortran.dg/pr101514.f90: New test.

    (cherry picked from commit c2b15fe27e6a0e42b108111d51acce69628593b4)

Reply via email to