re PR fortran/91660 (Missing error on invalid type declaration)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 5 Sep 2019 18:14:34 +0000 (18:14 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Thu, 5 Sep 2019 18:14:34 +0000 (18:14 +0000)
commit0e521c64613e0407bd086a26322402b29daeb370
treea4f9c3764d80573e09b33875901f2db9e2fee4e6
parentbb64bef659dc5b11fe1f8ff1f7df65603c9d8876
re PR fortran/91660 (Missing error on invalid type declaration)

2019-09-05  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91660
* decl.c (gfc_match_decl_type_spec): Improve and restore error
message for malformed types-spec.

2019-09-05  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/91660
* gfortran.dg/pdt_4.f03: Fix invalid code.
* gfortran.dg/pr91660_1.f90: New test.
* gfortran.dg/pr91660_2.f90: Ditto.

From-SVN: r275426
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pdt_4.f03
gcc/testsuite/gfortran.dg/pr91660_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/pr91660_2.f90 [new file with mode: 0644]