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

--- 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:251061b82852bdebc6f13510b415ecb73a2f80ae

commit r10-10474-g251061b82852bdebc6f13510b415ecb73a2f80ae
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