[Bug fortran/101536] ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7324

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jul 28 19:15:40 GMT 2021


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

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

https://gcc.gnu.org/g:35c7067f7b31682e4d5da7ec83759ab1a17cead9

commit r11-8813-g35c7067f7b31682e4d5da7ec83759ab1a17cead9
Author: Harald Anlauf <anlauf@gmx.de>
Date:   Fri Jul 23 21:00:10 2021 +0200

    Fortran: extend check for array arguments and reject CLASS array elements.

    gcc/fortran/ChangeLog:

            PR fortran/101536
            * check.c (array_check): Adjust check for the case of CLASS
            arrays.

    gcc/testsuite/ChangeLog:

            PR fortran/101536
            * gfortran.dg/pr101536.f90: New test.

    (cherry picked from commit e314cfc371d8b2405a1d81e51b90f9fb24b9061f)


More information about the Gcc-bugs mailing list