Fix tree checking failure with -fdump-ada-spec

Eric Botcazou ebotcazou@adacore.com
Tue Mar 22 10:27:00 GMT 2011


We forget to check that something is a TYPE before using TYPE_METHODS.

Tested on i586-suse-linux, applied on the mainline as obvious.


2011-03-22  Eric Botcazou  <ebotcazou@adacore.com>

	* c-ada-spec.c (dump_ada_template): Skip non-class instances.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-diff
Size: 820 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110322/add010c2/attachment.bin>


More information about the Gcc-patches mailing list