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

--- Comment #4 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:50c73234630d51e7d66986710afd1af23851002b

commit r11-10006-g50c73234630d51e7d66986710afd1af23851002b
Author: Harald Anlauf <anl...@gmx.de>
Date:   Wed Mar 9 21:58:26 2022 +0100

    Fortran: improve error recovery on invalid array section

    gcc/fortran/ChangeLog:

            PR fortran/104849
            * expr.c (find_array_section): Avoid NULL pointer dereference on
            invalid array section.

    gcc/testsuite/ChangeLog:

            PR fortran/104849
            * gfortran.dg/pr104849.f90: New test.

    (cherry picked from commit 22015e77d3e45306077396b9de8a8a28bb67fb20)

Reply via email to