Built and regression tested on x86_64-*-freebsd. The patch restores an improved error message for a malformed type-spec. See pr91660_1.f90 for code demonstrating problem. While here, improve the error messages for other malformed type-specs. Sett pr91660_2.f90. OK to commit? 2019-09-04 Steven G. Kargl PR fortran/91660 * decl.c (gfc_match_decl_type_spec): Improve and restore error message for malformed types-spec. 2019-09-04 Steven G. Kargl PR fortran/91660 * gfortran.dg/pdt_4.f03: Fix invalid code. * gfortran.dg/pr91660_1.f90: New test. * gfortran.dg/pr91660_2.f90: Ditto. -- Steve