https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99348
--- Comment #6 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:1b740d8000cac8048c728fb0bd75c71464eeee29 commit r11-9213-g1b740d8000cac8048c728fb0bd75c71464eeee29 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)