Why does tree-pretty-print try to print BINFO_TYPE of TREE__VEC
Nathan Sidwell
nathan@codesourcery.com
Wed Oct 6 16:39:00 GMT 2004
Daniel Berlin wrote:
> in dump_generic_node, we have
>
> case TREE_VEC:
> dump_generic_node (buffer, BINFO_TYPE (node), spc, flags, false);
> break;
>
> This seems very wrong, and in fact, fails for all tree-vecs i've tried
> to pretty print.
>
> I assume this really should be walking the vector?
BINFOs used to be TREE_VECs until I made them distinct. That needs
to be 'case TREE_BINFO:'. sorry I missed it. dunno if you can reach
a TREE_VEC in otherways.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
More information about the Gcc
mailing list