https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102458
--- Comment #18 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:dea2e6c7b5af2ec620fd94d824f006440907a34d commit r10-10170-gdea2e6c7b5af2ec620fd94d824f006440907a34d 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)