[PATCH] PR fortran/66245 -- Check [derived] type spec

Steve Kargl sgk@troutmask.apl.washington.edu
Sat Jun 6 00:21: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/gcc-patches/attachments/20150606/451441dc/attachment.bin>


More information about the Gcc-patches mailing list