[PATCH] PR fortran/91660 -- Improve and restore error messages

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] PR fortran/91660 -- Improve and restore error messages

Steve Kargl
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  <[hidden email]>

        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  <[hidden email]>

        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

pr91660.diff (3K) Download Attachment