[Bug fortran/82868] ICE in generate_coarray_sym_init, at fortran/trans-decl.c:5203

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 29 18:39:42 GMT 2022


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

--- Comment #5 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:22c2658a8b6ae9ece8b33bc483c04a767168b5f4

commit r12-8797-g22c2658a8b6ae9ece8b33bc483c04a767168b5f4
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Wed Sep 21 19:55:30 2022 +0200

    Fortran: fix ICE in generate_coarray_sym_init [PR82868]

    gcc/fortran/ChangeLog:

            PR fortran/82868
            * trans-decl.cc (generate_coarray_sym_init): Skip symbol
            if attr.associate_var.

    gcc/testsuite/ChangeLog:

            PR fortran/82868
            * gfortran.dg/associate_26a.f90: New test.

    (cherry picked from commit bc71318a91286b5f00e88f07aab818ac82510692)


More information about the Gcc-bugs mailing list