https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83866
--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> --- Author: pault Date: Tue Jan 23 19:13:10 2018 New Revision: 256995 URL: https://gcc.gnu.org/viewcvs?rev=256995&root=gcc&view=rev Log: 2018-23-01 Paul Thomas <pa...@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 <pa...@gcc.gnu.org> PR fortran/83866 * gfortran.dg/pdt_29.f03 : New test. Added: trunk/gcc/testsuite/gfortran.dg/pdt_29.f03 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/decl.c trunk/gcc/testsuite/ChangeLog