[PATCH]: Fix pretty printing of BINFO's and TREE_VEC

Daniel Berlin dberlin@dberlin.org
Wed Oct 6 19:21:00 GMT 2004


As I noted on gcc-patches, our pretty printing assumed that all 
TREE_VEC's were really BINFO's, and as a result of the recent BINFO 
work, it will ICE when it tries to pretty print the BINFO_TYPE of a 
TREE_VEC.

Thus, i changed what it used to do for TREE_VEC to be the case for 
TREE_BINFO, and made it pretty print normal vecs as if they were a 
list.

Bootstrapped and regtested on powerpc-darwin-7.5.0
Okay for mainline (the tabbing really is correct, my mailer is ?

2004-10-06  Daniel Berlin  <dberlin@dberlin.org>

	* tree-pretty-print.c (dump_generic_node): Fix printing of BINFO
	and TREE_VEC nodes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prettyprint.diff
Type: application/octet-stream
Size: 975 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20041006/730df0c5/attachment.obj>


More information about the Gcc-patches mailing list