Commit e8bfc7f8 by Patrick Palka

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
parent b55b02ea
2015-06-27 Patrick Palka <ppalka@gcc.gnu.org>
* print-tree.c (print_node) [TREE_VEC]: Print its length.
2015-06-26 Andrew MacLeod <amacleod@redhat.com>
* gimple.c (gimple_call_set_fndecl): Remove.
......
......@@ -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))
{
......
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