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

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

https://gcc.gnu.org/g:63cc40ed45ba2dd5313967364606524c6c621d03

commit r10-10271-g63cc40ed45ba2dd5313967364606524c6c621d03
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.

    (cherry picked from commit 99af0b2f0fe1c0dc8c6d558157e700326d52816a)

Reply via email to