aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorPatrick Palka <ppalka@gcc.gnu.org>2015-06-27 18:43:11 +0000
committerPatrick Palka <ppalka@gcc.gnu.org>2015-06-27 18:43:11 +0000
commite8bfc7f817c91d941f4b1ad9e38f7c8534ab8994 (patch)
treef9c92dd168588772d3dbd6091a38d430116c2ce4 /gcc/print-tree.c
parentb55b02ead474ab1f68fa066a65a3896664d83412 (diff)
downloadgcc-e8bfc7f817c91d941f4b1ad9e38f7c8534ab8994.zip
gcc-e8bfc7f817c91d941f4b1ad9e38f7c8534ab8994.tar.gz
gcc-e8bfc7f817c91d941f4b1ad9e38f7c8534ab8994.tar.bz2
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
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 0336167..1841d77 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))
{