https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104331
--- Comment #2 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:447047a8f95c6bf4b1873f390c833e91aa8af18c commit r12-6977-g447047a8f95c6bf4b1873f390c833e91aa8af18c 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.cc (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.