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

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

https://gcc.gnu.org/g:99af0b2f0fe1c0dc8c6d558157e700326d52816a

commit r12-4719-g99af0b2f0fe1c0dc8c6d558157e700326d52816a
Author: Harald Anlauf <anl...@gmx.de>
Date:   Tue Oct 26 20:51:46 2021 +0200

    Fortran: error recovery on initializing invalid derived type array
component

    gcc/fortran/ChangeLog:

            PR fortran/102816
            * resolve.c (resolve_structure_cons): Reject invalid array spec of
            a DT component referenced in a structure constructor.

    gcc/testsuite/ChangeLog:

            PR fortran/102816
            * gfortran.dg/pr102816.f90: New test.

Reply via email to