https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104554
--- Comment #4 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:a418129273725fd02e881e6fb5e0877287a1356c commit r13-6066-ga418129273725fd02e881e6fb5e0877287a1356c Author: Steve Kargl <ka...@gcc.gnu.org> Date: Wed Feb 15 22:20:22 2023 +0100 Fortran: error recovery on invalid assumed size reference [PR104554] gcc/fortran/ChangeLog: PR fortran/104554 * resolve.cc (check_assumed_size_reference): Avoid NULL pointer dereference. gcc/testsuite/ChangeLog: PR fortran/104554 * gfortran.dg/pr104554.f90: New test.