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

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andre Vehreschild <ve...@gcc.gnu.org>:

https://gcc.gnu.org/g:3a7fcf4f54ecffdbad03787d4f734c1fb2291ef5

commit r16-2372-g3a7fcf4f54ecffdbad03787d4f734c1fb2291ef5
Author: Andre Vehreschild <ve...@gcc.gnu.org>
Date:   Fri Jun 27 11:42:54 2025 +0200

    Fortran: Allow for iterator substitution in array constructors [PR119106]

            PR fortran/119106

    gcc/fortran/ChangeLog:

            * expr.cc (simplify_constructor): Do not simplify constants.
            (gfc_simplify_expr): Continue to simplify expression when an
            iterator is present.

    gcc/testsuite/ChangeLog:

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

Reply via email to