[PATCH] PR fortran/66245 -- Check [derived] type spec
Steve Kargl
sgk@troutmask.apl.washington.edu
Fri Jun 5 23:55:00 GMT 2015
The attached patch checks that TYPE IS and CLASS IS
return a type spec or a derived type spec. Regression
tested without any new failures. OK to commit?
2015-06-05 Steven G. Kargl <kargl@gcc.gnu.org>
* match.c (gfc_match_type_is, gfc_match_class_is): Check if the
return type spec or derived type spec is validate.
2015-06-05 Steven G. Kargl <kargl@gcc.gnu.org>
* gfortran.dg/class_is_1.f90: New test.
* gfortran.dg/type_is_1.f90: Ditto.
--
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: type_is.diff
Type: text/x-diff
Size: 2085 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20150605/451441dc/attachment.bin>
More information about the Fortran
mailing list