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,6 +363,9 @@ print_node (FILE *file, const char *prefix, tree node, int indent) ...@@ -363,6 +363,9 @@ 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 (code != TREE_VEC && code != SSA_NAME)
{
if (TREE_LANG_FLAG_0 (node)) if (TREE_LANG_FLAG_0 (node))
fputs (" tree_0", file); fputs (" tree_0", file);
if (TREE_LANG_FLAG_1 (node)) if (TREE_LANG_FLAG_1 (node))
...@@ -377,6 +380,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent) ...@@ -377,6 +380,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
fputs (" tree_5", file); fputs (" tree_5", file);
if (TREE_LANG_FLAG_6 (node)) if (TREE_LANG_FLAG_6 (node))
fputs (" tree_6", file); 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