Commit 55e9452e by Daniel Berlin Committed by Daniel Berlin

tree-pretty-print.c (dump_generic_node): Fix printing of BINFO and TREE_VEC nodes.

2004-10-06  Daniel Berlin  <dberlin@dberlin.org>

	* tree-pretty-print.c (dump_generic_node): Fix printing of BINFO
	and TREE_VEC nodes.

From-SVN: r88624
parent 44301a59
2004-10-06 Daniel Berlin <dberlin@dberlin.org> 2004-10-06 Daniel Berlin <dberlin@dberlin.org>
* tree-pretty-print.c (dump_generic_node): Fix printing of BINFO
and TREE_VEC nodes.
2004-10-06 Daniel Berlin <dberlin@dberlin.org>
* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Convert * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Convert
to use FOR_EACH_SSA_USE_OPERAND iterator, and propagate_value. to use FOR_EACH_SSA_USE_OPERAND iterator, and propagate_value.
......
...@@ -285,8 +285,26 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, ...@@ -285,8 +285,26 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
} }
break; break;
case TREE_VEC: case TREE_BINFO:
dump_generic_node (buffer, BINFO_TYPE (node), spc, flags, false); dump_generic_node (buffer, BINFO_TYPE (node), spc, flags, false);
case TREE_VEC:
{
size_t i;
if (TREE_VEC_LENGTH (node) > 0)
{
size_t len = TREE_VEC_LENGTH (node);
for (i = 0; i < len - 1; i++)
{
dump_generic_node (buffer, TREE_VEC_ELT (node, i), spc, flags,
false);
pp_character (buffer, ',');
pp_space (buffer);
}
dump_generic_node (buffer, TREE_VEC_ELT (node, len - 1), spc,
flags, false);
}
}
break; break;
case BLOCK: case BLOCK:
......
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