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

--- Comment #4 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:f4aa5a3e95ba106f3149157a0278616f7a5fd192

commit r11-9535-gf4aa5a3e95ba106f3149157a0278616f7a5fd192
Author: Harald Anlauf <anl...@gmx.de>
Date:   Tue Feb 1 21:36:42 2022 +0100

    Fortran: error recovery when simplifying EOSHIFT

    gcc/fortran/ChangeLog:

            PR fortran/104331
            * simplify.c (gfc_simplify_eoshift): Avoid NULL pointer
            dereference when shape is not set.

    gcc/testsuite/ChangeLog:

            PR fortran/104331
            * gfortran.dg/eoshift_9.f90: New test.

    (cherry picked from commit 447047a8f95c6bf4b1873f390c833e91aa8af18c)

Reply via email to