[Bug fortran/101327] ICE in find_array_element, at fortran/expr.c:1355

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 7 18:52:45 GMT 2021


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

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

https://gcc.gnu.org/g:2a1537a19cb2fa85823cfa18ed40baa4b259b4e3

commit r12-3392-g2a1537a19cb2fa85823cfa18ed40baa4b259b4e3
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Tue Sep 7 20:51:49 2021 +0200

    Fortran - improve error recovery determining array element from constructor

    gcc/fortran/ChangeLog:

            PR fortran/101327
            * expr.c (find_array_element): When bounds cannot be determined as
            constant, return error instead of aborting.

    gcc/testsuite/ChangeLog:

            PR fortran/101327
            * gfortran.dg/pr101327.f90: New test.


More information about the Gcc-bugs mailing list