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

--- Comment #8 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:cb85933717e52f1cd91786e6bb595494629ca5c9

commit r10-10267-gcb85933717e52f1cd91786e6bb595494629ca5c9
Author: Harald Anlauf <anl...@gmx.de>
Date:   Sun Oct 10 20:11:43 2021 +0200

    Fortran: handle initialization of derived type parameter arrays from scalar

    gcc/fortran/ChangeLog:

            PR fortran/99348
            PR fortran/102521
            * decl.c (add_init_expr_to_sym): Extend initialization of
            parameter arrays from scalars to handle derived types.

    gcc/testsuite/ChangeLog:

            PR fortran/99348
            PR fortran/102521
            * gfortran.dg/parameter_array_init_8.f90: New test.

    (cherry picked from commit 74ccca380cde5e79e082d39214b306a90ded0344)

Reply via email to