https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88379
--- Comment #9 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:56ce663146b436ff1a267ee2a9701b7d5e190e62 commit r8-10344-g56ce663146b436ff1a267ee2a9701b7d5e190e62 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)