https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88379
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:66640d910595faded4425cfe2729ddf9d16e457b commit r10-8417-g66640d910595faded4425cfe2729ddf9d16e457b Author: Harald Anlauf <anl...@gmx.de> Date: Tue Jun 30 23:36:56 2020 +0200 PR fortran/88379 - ICE with allocatable coarray, class and associate Catch NULL pointer dereference for ASSOCIATE on allocatable coarray variable. gcc/fortran/ PR fortran/88379 * resolve.c (resolve_assoc_var): Avoid NULL pointer dereference. (cherry picked from commit 267f84c6035c9380c8d1e9cb83ffe299c23e3a85)