https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93423
--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-8 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:aef149efb6d3fc97a38c74f7022124a6ba247746 commit r8-10520-gaef149efb6d3fc97a38c74f7022124a6ba247746 Author: Harald Anlauf <anl...@gmx.de> Date: Thu Jul 2 20:48:16 2020 +0200 PR fortran/93423 - ICE on invalid with argument list for module procedure When recovering from an error, a NULL pointer dereference could occur. Check for that situation and punt. gcc/fortran/ PR fortran/93423 * resolve.c (resolve_symbol): Avoid NULL pointer dereference. (cherry picked from commit b88744905a46be44ffa3c57d46080f601ae832b8)