summaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-25 19:52:18 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2011-05-25 19:52:18 +0000
commit58ee5a30e77621a73079d44862b2d9e464cf5362 (patch)
tree9f60d1d14910bb2e34ad10e316d21347c137e8b6 /gcc/print-tree.c
parentbf3fe5f1ed4b83ea7735e18d25b6a6af65b77476 (diff)
downloadgcc-58ee5a30e77621a73079d44862b2d9e464cf5362.tar.gz
* print-tree.c (print_node): Only look at TREE_TYPE if TS_TYPED.
* cp/ptree.c (cxx_print_xnode): Handle ARGUMENT_PACK_SELECT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174230 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 3b5edebed62..58c96137934 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -321,7 +321,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
if (indent <= 4)
print_node_brief (file, "type", TREE_TYPE (node), indent + 4);
}
- else
+ else if (CODE_CONTAINS_STRUCT (code, TS_TYPED))
{
print_node (file, "type", TREE_TYPE (node), indent + 4);
if (TREE_TYPE (node))