https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93337
--- Comment #5 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:d9fb6f2b4f1321b059807ff6073156f07d9d376b commit r11-1791-gd9fb6f2b4f1321b059807ff6073156f07d9d376b Author: Harald Anlauf <anl...@gmx.de> Date: Thu Jul 2 20:41:51 2020 +0200 PR fortran/93337 - ICE in gfc_dt_upper_string, at fortran/module.c:441 When declaring a polymorphic variable that is not a dummy, allocatable or pointer, an ICE occurred due to a NULL pointer dereference. Check for that situation and punt. gcc/fortran/ PR fortran/93337 * class.c (gfc_find_derived_vtab): Punt if name is not set.