[Bug fortran/106209] ICE in add_init_expr_to_sym, at fortran/decl.cc:2132

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 28 22:03:44 GMT 2023


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

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

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

commit r12-9079-g6dc4f984dd14ffad34e0540f2030f553579adefd
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Thu Jul 14 22:24:55 2022 +0200

    Fortran: error recovery for bad initializers of implied-shape arrays
[PR106209]

    gcc/fortran/ChangeLog:

            PR fortran/106209
            * decl.cc (add_init_expr_to_sym): Handle bad initializers for
            implied-shape arrays.

    gcc/testsuite/ChangeLog:

            PR fortran/106209
            * gfortran.dg/pr106209.f90: New test.

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


More information about the Gcc-bugs mailing list