https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103694
--- Comment #8 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:55d8c5409325001c89c35c3d04d425dec9127146 commit r13-2177-g55d8c5409325001c89c35c3d04d425dec9127146 Author: Harald Anlauf <anl...@gmx.de> Date: Tue Aug 23 22:16:14 2022 +0200 Fortran: improve error recovery while simplifying size of bad array [PR103694] gcc/fortran/ChangeLog: PR fortran/103694 * simplify.cc (simplify_size): The size expression of an array cannot be simplified if an error occurs while resolving the array spec. gcc/testsuite/ChangeLog: PR fortran/103694 * gfortran.dg/pr103694.f90: New test.