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

--- Comment #13 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:217d8bf22b148ebe52456a4bccfe9d725e7c68e9

commit r11-9359-g217d8bf22b148ebe52456a4bccfe9d725e7c68e9
Author: Harald Anlauf <anl...@gmx.de>
Date:   Sat Nov 27 21:43:52 2021 +0100

    Fortran: improve expansion of constant array expressions within
constructors

    gcc/fortran/ChangeLog:

            PR fortran/102787
            * array.c (expand_constructor): When encountering a constant array
            expression or array section within a constructor, simplify it to
            enable better expansion.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/array_constructor_54.f90: New test.

    (cherry picked from commit 6b8ecbc6d6652d061d7c72c64352d51eca2df6ca)

Reply via email to