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

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

https://gcc.gnu.org/g:6b8ecbc6d6652d061d7c72c64352d51eca2df6ca

commit r12-5639-g6b8ecbc6d6652d061d7c72c64352d51eca2df6ca
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.

Reply via email to