From: Jason Merrill Date: Tue, 18 Aug 2015 21:29:12 +0000 (-0400) Subject: * print-tree.c (print_node): Handle TREE_BINFO. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7940cae4312779b9d58c1caa54b2f56b84aca4b3;p=gcc.git * print-tree.c (print_node): Handle TREE_BINFO. From-SVN: r226994 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f210fd68543..d279b39909c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-08-18 Jason Merrill + + * print-tree.c (print_node): Handle TREE_BINFO. + 2015-08-18 Francois-Xavier Coudert PR middle-end/36757 diff --git a/gcc/print-tree.c b/gcc/print-tree.c index 6e0d4a9f02c..ea50056e58c 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -911,6 +911,17 @@ print_node (FILE *file, const char *prefix, tree node, int indent) indent + 4); break; + case TREE_BINFO: + fprintf (file, " bases %d", + vec_safe_length (BINFO_BASE_BINFOS (node))); + print_node_brief (file, "offset", BINFO_OFFSET (node), indent + 4); + print_node_brief (file, "virtuals", BINFO_VIRTUALS (node), + indent + 4); + print_node_brief (file, "inheritance chain", + BINFO_INHERITANCE_CHAIN (node), + indent + 4); + break; + default: if (EXCEPTIONAL_CLASS_P (node)) lang_hooks.print_xnode (file, node, indent);