https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88379
--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-9 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:4e9e0dab7a1dd9003269a8663117135f9ad91a94 commit r9-8720-g4e9e0dab7a1dd9003269a8663117135f9ad91a94 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)