re PR fortran/66245 (ICE on select type with empty type spec)
authorSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 8 Jun 2015 15:55:16 +0000 (15:55 +0000)
committerSteven G. Kargl <kargl@gcc.gnu.org>
Mon, 8 Jun 2015 15:55:16 +0000 (15:55 +0000)
commitef701bbe50402a6b44f73bc3913ac8c85b1d5b9e
treefd6d439ac0a513dbb2abe336673638a486ae4437
parenta1661b90dcbaed222e647bda75540e8a87f250ed
re PR fortran/66245 (ICE on select type with empty type spec)

2015-06-08  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/66245
* match.c (gfc_match_type_is, gfc_match_class_is):  Check if the
return type spec or derived type spec is validate.

2015-06-08  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/66245
* gfortran.dg/class_is_1.f90: New test.
* gfortran.dg/type_is_1.f90: Ditto.

From-SVN: r224237
gcc/fortran/ChangeLog
gcc/fortran/match.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_is_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/type_is_1.f90 [new file with mode: 0644]