https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91715
--- Comment #3 from kargl at gcc dot gnu.org --- Author: kargl Date: Fri Oct 11 20:19:28 2019 New Revision: 276905 URL: https://gcc.gnu.org/viewcvs?rev=276905&root=gcc&view=rev Log: 2019-10-11 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/91715 * decl.c (gfc_match_prefix): If matching a type-spec returns an error, it's an error so re-act correctly. 2019-10-11 Steven G. Kargl <ka...@gcc.gnu.org> PR fortran/91715 * gfortran.dg/function_kinds_5.f90: Prune run-on error. * gfortran.dg/pr85543.f90: Ditto. * gfortran.dg/pr91715.f90: New test. Added: branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr91715.f90 Modified: branches/gcc-9-branch/gcc/fortran/ChangeLog branches/gcc-9-branch/gcc/fortran/decl.c branches/gcc-9-branch/gcc/testsuite/ChangeLog branches/gcc-9-branch/gcc/testsuite/gfortran.dg/function_kinds_5.f90 branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr85543.f90