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

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

https://gcc.gnu.org/g:22015e77d3e45306077396b9de8a8a28bb67fb20

commit r12-7569-g22015e77d3e45306077396b9de8a8a28bb67fb20
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.cc (find_array_section): Avoid NULL pointer dereference on
            invalid array section.

    gcc/testsuite/ChangeLog:

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

Reply via email to