re PR fortran/83866 (ICE in gfc_release_symbol, at fortran/symbol.c:3087)
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 23 Jan 2018 19:13:10 +0000 (19:13 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 23 Jan 2018 19:13:10 +0000 (19:13 +0000)
commitf59986b285e3dff07f847c5a680f6f9e0b9520f0
tree20a49d1f50c5cd576ab30406aba52441d1cd1e32
parent84ee745e333717fb3b64f66310499993c5ee1835
re PR fortran/83866 (ICE in gfc_release_symbol, at fortran/symbol.c:3087)

2018-23-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/83866
* decl.c (gfc_match_derived_decl): If eos not matched, recover
and emit error about garbage after declaration.

2018-23-01  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/83866
* gfortran.dg/pdt_29.f03 : New test.

From-SVN: r256995
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pdt_29.f03 [new file with mode: 0644]