Commit f581a987 by Jason Merrill Committed by Jason Merrill

print-tree.c (print_node): Don't check TREE_LANG_FLAG_* on TREE_VEC or SSA_NAME.

	* print-tree.c (print_node): Don't check TREE_LANG_FLAG_*
	on TREE_VEC or SSA_NAME.

From-SVN: r190663
parent 03b8c9bf
2012-08-24 Jason Merrill <jason@redhat.com>
* print-tree.c (print_node): Don't check TREE_LANG_FLAG_*
on TREE_VEC or SSA_NAME.
2012-08-24 Jakub Jelinek <jakub@redhat.com> 2012-08-24 Jakub Jelinek <jakub@redhat.com>
PR c/54363 PR c/54363
......
...@@ -363,20 +363,24 @@ print_node (FILE *file, const char *prefix, tree node, int indent) ...@@ -363,20 +363,24 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
fputs (" deprecated", file); fputs (" deprecated", file);
if (TREE_VISITED (node)) if (TREE_VISITED (node))
fputs (" visited", file); fputs (" visited", file);
if (TREE_LANG_FLAG_0 (node))
fputs (" tree_0", file); if (code != TREE_VEC && code != SSA_NAME)
if (TREE_LANG_FLAG_1 (node)) {
fputs (" tree_1", file); if (TREE_LANG_FLAG_0 (node))
if (TREE_LANG_FLAG_2 (node)) fputs (" tree_0", file);
fputs (" tree_2", file); if (TREE_LANG_FLAG_1 (node))
if (TREE_LANG_FLAG_3 (node)) fputs (" tree_1", file);
fputs (" tree_3", file); if (TREE_LANG_FLAG_2 (node))
if (TREE_LANG_FLAG_4 (node)) fputs (" tree_2", file);
fputs (" tree_4", file); if (TREE_LANG_FLAG_3 (node))
if (TREE_LANG_FLAG_5 (node)) fputs (" tree_3", file);
fputs (" tree_5", file); if (TREE_LANG_FLAG_4 (node))
if (TREE_LANG_FLAG_6 (node)) fputs (" tree_4", file);
fputs (" tree_6", file); if (TREE_LANG_FLAG_5 (node))
fputs (" tree_5", file);
if (TREE_LANG_FLAG_6 (node))
fputs (" tree_6", file);
}
/* DECL_ nodes have additional attributes. */ /* DECL_ nodes have additional attributes. */
......
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