re PR fortran/85779 (ICE in gfc_typename, at fortran/misc.c:156)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 24 May 2018 22:31:11 +0000 (22:31 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 24 May 2018 22:31:11 +0000 (22:31 +0000)
commit1072bff8143c56ae3de8d08d122f4960f9bdcdd2
tree6d40ed415ca32a5a9b98cc16b1e96f077dcb69c9
parent8909fee2891ba084a2b8d317e864b3cf4c1e6b01
re PR fortran/85779 (ICE in gfc_typename, at fortran/misc.c:156)

2018-05-24  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85779
* decl.c (gfc_match_derived_decl): Fix NULL point dereference.

2018-05-24  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/85779
* gfortran.dg/pr85779_1.f90: New test.
* gfortran.dg/pr85779_2.f90: Ditto.
* gfortran.dg/pr85779_3.f90: Ditto.

From-SVN: r260697
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr85779_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr85779_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr85779_3.f90 [new file with mode: 0644]