re PR fortran/87907 (ICE in resolve_contained_fntype, at fortran/resolve.c:587)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 19 Jun 2019 17:58:54 +0000 (17:58 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Wed, 19 Jun 2019 17:58:54 +0000 (17:58 +0000)
commitee3aab6826f7dbfe0f1a509cb429f4a4d755f38b
treed487aab5b7ba40c4f3349db9718045ab30c1b4dd
parent33f0ad50f48cefeec7f3136e30229c9f85bbd372
re PR fortran/87907 (ICE in resolve_contained_fntype, at fortran/resolve.c:587)

2019-06-19  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/87907
* resolve.c (resolve_contained_fntype): Do not dereference a NULL
pointer.

2019-06-19  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/87907
* gfortran.dg/pr87907.f90: New testcase.

From-SVN: r272480
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr87907.f90 [new file with mode: 0644]