Commit 7940cae4 by Jason Merrill Committed by Jason Merrill

* print-tree.c (print_node): Handle TREE_BINFO.

From-SVN: r226994
parent fc40eb75
2015-08-18 Jason Merrill <jason@redhat.com>
* print-tree.c (print_node): Handle TREE_BINFO.
2015-08-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR middle-end/36757
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment