[Bug fortran/91660] [8/9/10 Regression] Missing error on invalid type declaration

2019-09-05 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91660

kargl at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #5 from kargl at gcc dot gnu.org ---
Fixed on trunk, 8-branch, and 9-branch.  Thanks for bug report.

[Bug fortran/91660] [8/9/10 Regression] Missing error on invalid type declaration

2019-09-05 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91660

--- Comment #4 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Sep  5 19:28:04 2019
New Revision: 275432

URL: https://gcc.gnu.org/viewcvs?rev=275432=gcc=rev
Log:
2019-09-05  Steven G. Kargl  

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  

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

Added:
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr91660_1.f90
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pr91660_2.f90
Modified:
branches/gcc-8-branch/gcc/fortran/ChangeLog
branches/gcc-8-branch/gcc/fortran/decl.c
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/gfortran.dg/pdt_4.f03

[Bug fortran/91660] [8/9/10 Regression] Missing error on invalid type declaration

2019-09-05 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91660

--- Comment #3 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Sep  5 18:37:13 2019
New Revision: 275427

URL: https://gcc.gnu.org/viewcvs?rev=275427=gcc=rev
Log:
2019-09-05  Steven G. Kargl  

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  

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

Added:
branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr91660_1.f90
branches/gcc-9-branch/gcc/testsuite/gfortran.dg/pr91660_2.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/pdt_4.f03

[Bug fortran/91660] [8/9/10 Regression] Missing error on invalid type declaration

2019-09-05 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91660

--- Comment #2 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Thu Sep  5 18:14:34 2019
New Revision: 275426

URL: https://gcc.gnu.org/viewcvs?rev=275426=gcc=rev
Log:
2019-09-05  Steven G. Kargl  

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  

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

Added:
trunk/gcc/testsuite/gfortran.dg/pr91660_1.f90
trunk/gcc/testsuite/gfortran.dg/pr91660_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/decl.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/pdt_4.f03

[Bug fortran/91660] [8/9/10 Regression] Missing error on invalid type declaration

2019-09-05 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91660

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |8.4

[Bug fortran/91660] [8/9/10 Regression] Missing error on invalid type declaration

2019-09-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91660

kargl at gcc dot gnu.org changed:

   What|Removed |Added

   Assignee|kargl at gcc dot gnu.org   |unassigned at gcc dot 
gnu.org

--- Comment #1 from kargl at gcc dot gnu.org ---
Looks like the -fdec junk may have broke this.

[Bug fortran/91660] [8/9/10 Regression] Missing error on invalid type declaration

2019-09-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91660

kargl at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P4
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2019-09-04
 CC||kargl at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |kargl at gcc dot gnu.org
 Ever confirmed|0   |1