https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82314
--- 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:104c05c5284b7822d770ee51a7d91946c7e56d50 commit r12-3500-g104c05c5284b7822d770ee51a7d91946c7e56d50 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.