From: Patrick Palka Date: Sat, 27 Jun 2015 18:43:11 +0000 (+0000) Subject: Make debug_tree() print the length of a TREE_VEC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e8bfc7f817c91d941f4b1ad9e38f7c8534ab8994;p=gcc.git Make debug_tree() print the length of a TREE_VEC gcc/ChangeLog: * print-tree.c (print_node) [TREE_VEC]: Print its length. From-SVN: r225100 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 31ee3cb3ef5..80d3a36f8cc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-06-27 Patrick Palka + + * print-tree.c (print_node) [TREE_VEC]: Print its length. + 2015-06-26 Andrew MacLeod * gimple.c (gimple_call_set_fndecl): Remove. diff --git a/gcc/print-tree.c b/gcc/print-tree.c index 0336167bee1..1841d77f893 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -807,6 +807,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent) case TREE_VEC: len = TREE_VEC_LENGTH (node); + fprintf (file, " length %d", len); for (i = 0; i < len; i++) if (TREE_VEC_ELT (node, i)) {