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

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

https://gcc.gnu.org/g:d86949f5f55dbe0eb6f3044366101605882cd58e

commit r11-9618-gd86949f5f55dbe0eb6f3044366101605882cd58e
Author: Harald Anlauf <anl...@gmx.de>
Date:   Mon Feb 21 22:49:05 2022 +0100

    Fortran: skip compile-time shape check if constructor shape is not known

    gcc/fortran/ChangeLog:

            PR fortran/104619
            * resolve.c (resolve_structure_cons): Skip shape check if shape
            of constructor cannot be determined at compile time.

    gcc/testsuite/ChangeLog:

            PR fortran/104619
            * gfortran.dg/derived_constructor_comps_7.f90: New test.

    (cherry picked from commit bc66b471d16ef2fd8cb66fd1131b41f80ecb9961)

Reply via email to