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

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

https://gcc.gnu.org/g:e3c997824f17dd6a4f7eb8d668b9ed2ef84408fc

commit r12-8860-ge3c997824f17dd6a4f7eb8d668b9ed2ef84408fc
Author: Harald Anlauf <anl...@gmx.de>
Date:   Wed Oct 19 22:37:56 2022 +0200

    Fortran: error recovery with references of bad array constructors
[PR105633]

    gcc/fortran/ChangeLog:

            PR fortran/105633
            * expr.cc (find_array_section): Move check for NULL pointers so
            that both subscript triplets and vector subscripts are covered.

    gcc/testsuite/ChangeLog:

            PR fortran/105633
            * gfortran.dg/pr105633.f90: New test.

    Co-authored-by: Steven G. Kargl <ka...@gcc.gnu.org>
    (cherry picked from commit ecb20df4fa6d99daa635c7fb662dc0554610777e)

Reply via email to