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

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

commit r11-9214-g907fd5049735ed1bd17e221db5a812dedee5dfc8
Author: Harald Anlauf <anl...@gmx.de>
Date:   Fri Nov 5 23:48:20 2021 +0100

    Fortran: fix simplification of array-valued parameter expressions

    gcc/fortran/ChangeLog:

            PR fortran/102817
            * expr.c (simplify_parameter_variable): Copy shape of referenced
            subobject when simplifying.

    gcc/testsuite/ChangeLog:

            PR fortran/102817
            * gfortran.dg/pr102817.f90: New test.

    (cherry picked from commit bcf3728abe8488882922005166d3065fc5fdfea1)

Reply via email to