https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103694

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Harald Anlauf
<anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:1f682c96048456379729d495b41551a00eac5a3f

commit r12-8716-g1f682c96048456379729d495b41551a00eac5a3f
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.

    (cherry picked from commit 55d8c5409325001c89c35c3d04d425dec9127146)

Reply via email to