]> git.ipfire.org Git - thirdparty/gcc.git/commit
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)
committerGiuliano Belinassi <giuliano.belinassi@usp.br>
Mon, 17 Aug 2020 16:15:38 +0000 (13:15 -0300)
commit63824f070df8580ccc1099f049b1b8800cd6345a
tree786a701017fde9416dd3d66137ae531da9329bf7
parent041e963c8b9cd0c27ff5d76d70a19bd1c2974996
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.
gcc/fortran/resolve.c
gcc/testsuite/gfortran.dg/pr88379.f90 [new file with mode: 0644]