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

--- Comment #11 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:58c76fb477b51adeb9241de0b175a817e9c73b8a

commit r11-9008-g58c76fb477b51adeb9241de0b175a817e9c73b8a
Author: Harald Anlauf <anl...@gmx.de>
Date:   Mon Sep 13 19:28:10 2021 +0200

    Fortran - ensure simplification of bounds of array-valued named constants

    gcc/fortran/ChangeLog:

            PR fortran/82314
            * decl.c (add_init_expr_to_sym): For proper initialization of
            array-valued named constants the array bounds need to be
            simplified before adding the initializer.

    gcc/testsuite/ChangeLog:

            PR fortran/82314
            * gfortran.dg/pr82314.f90: New test.

    (cherry picked from commit 104c05c5284b7822d770ee51a7d91946c7e56d50)

Reply via email to