https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100950
--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <[email protected]>: https://gcc.gnu.org/g:d881460deb1f0bdfc3e8fa2d391a03a9763cbff4 commit r12-3033-gd881460deb1f0bdfc3e8fa2d391a03a9763cbff4 Author: Harald Anlauf <[email protected]> Date: Thu Aug 19 21:00:45 2021 +0200 Fortran - simplify length of substring with constant bounds gcc/fortran/ChangeLog: PR fortran/100950 * simplify.c (substring_has_constant_len): New. (gfc_simplify_len): Handle case of substrings with constant bounds. gcc/testsuite/ChangeLog: PR fortran/100950 * gfortran.dg/pr100950.f90: New test.
