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

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

https://gcc.gnu.org/g:6b8cd1fb402163e16d2a139f4bee346ff0c8f234

commit r9-10187-g6b8cd1fb402163e16d2a139f4bee346ff0c8f234
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