PR fortran/95881 - ICE in resolve_symbol, at fortran/resolve.c:15175
authorHarald Anlauf <anlauf@gmx.de>
Sat, 27 Jun 2020 12:56:33 +0000 (14:56 +0200)
committerHarald Anlauf <anlauf@gmx.de>
Sat, 27 Jun 2020 12:57:28 +0000 (14:57 +0200)
commit3cbc0fb39c84ae0a51a9a88649dccd105bf17d6e
tree71173edd7df0127465dcec352cf76c90cbf1e446
parentfc36b97af05ef74b0889ba49090c2f52f00e0e77
PR fortran/95881 - ICE in resolve_symbol, at fortran/resolve.c:15175

Avoid NULL pointer dereference.

gcc/fortran/
PR fortran/95881
* resolve.c (resolve_symbol): Avoid NULL pointer dereference.
gcc/fortran/resolve.c
gcc/testsuite/gfortran.dg/pr95881.f90 [new file with mode: 0644]