https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458
--- Comment #16 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:a3abacbaebc5583885600840cf2d968341be0275 commit r11-9065-ga3abacbaebc5583885600840cf2d968341be0275 Author: Harald Anlauf <anl...@gmx.de> Date: Thu Sep 30 20:29:31 2021 +0200 Fortran: resolve expressions during SIZE simplification gcc/fortran/ChangeLog: PR fortran/102458 * simplify.c (simplify_size): Resolve expressions used in array specifications so that SIZE can be simplified. gcc/testsuite/ChangeLog: PR fortran/102458 * gfortran.dg/pr102458b.f90: New test. (cherry picked from commit b19bbfb1482505367dd19ae4ab1ea19e36802b6a)