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

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

https://gcc.gnu.org/g:9fed680237d2c4242d3273ab8f64c82231d5eeb7

commit r10-10747-g9fed680237d2c4242d3273ab8f64c82231d5eeb7
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