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
This commit is contained in:
Jason Merrill 2012-08-24 22:29:00 -04:00 committed by Jason Merrill
parent 03b8c9bf9a
commit f581a987e3
2 changed files with 23 additions and 14 deletions

View File

@ -1,3 +1,8 @@
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>
PR c/54363

View File

@ -363,20 +363,24 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
fputs (" deprecated", file);
if (TREE_VISITED (node))
fputs (" visited", file);
if (TREE_LANG_FLAG_0 (node))
fputs (" tree_0", file);
if (TREE_LANG_FLAG_1 (node))
fputs (" tree_1", file);
if (TREE_LANG_FLAG_2 (node))
fputs (" tree_2", file);
if (TREE_LANG_FLAG_3 (node))
fputs (" tree_3", file);
if (TREE_LANG_FLAG_4 (node))
fputs (" tree_4", file);
if (TREE_LANG_FLAG_5 (node))
fputs (" tree_5", file);
if (TREE_LANG_FLAG_6 (node))
fputs (" tree_6", file);
if (code != TREE_VEC && code != SSA_NAME)
{
if (TREE_LANG_FLAG_0 (node))
fputs (" tree_0", file);
if (TREE_LANG_FLAG_1 (node))
fputs (" tree_1", file);
if (TREE_LANG_FLAG_2 (node))
fputs (" tree_2", file);
if (TREE_LANG_FLAG_3 (node))
fputs (" tree_3", file);
if (TREE_LANG_FLAG_4 (node))
fputs (" tree_4", 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. */