PR fortran/88379 - ICE with allocatable coarray, class and associate
authorHarald Anlauf <anlauf@gmx.de>
Tue, 30 Jun 2020 21:36:56 +0000 (23:36 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Thu, 2 Jul 2020 19:05:03 +0000 (21:05 +0200)
commit66640d910595faded4425cfe2729ddf9d16e457b
tree881e567ed7f65b2c1d33d71cf0cdcb6041988c81
parent14d4e7bc303a92f620eddcba9cef88da7e91514c
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)
gcc/fortran/resolve.c
gcc/testsuite/gfortran.dg/pr88379.f90 [new file with mode: 0644]
This page took 1.394226 seconds and 6 git commands to generate.