https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99060
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:3bc79d7b5d22c07a337b6399e08c1252d55ea5e0 commit r10-9357-g3bc79d7b5d22c07a337b6399e08c1252d55ea5e0 Author: Paul Thomas <pa...@gcc.gnu.org> Date: Thu Feb 11 10:38:23 2021 +0000 Fortran: Fix ICE after error regression [PR99060]. 2021-02-11 Paul Thomas <pa...@gcc.gnu.org> gcc/fortran PR fortran/99060 * primary.c (gfc_match_varspec): Test for non-null 'previous' before using its name in the error message. gcc/testsuite/ PR fortran/99060 * gfortran.dg/pr99060.f90: New test. (cherry picked from commit 5ee5415af8691640b0f7a5332b78d04ba309f4f0)