summaryrefslogtreecommitdiff
path: root/gcc/tree-pretty-print.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-09 13:44:49 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-09 13:44:49 +0000
commitd2d3b1ae29e7a178921e972e8a17a37fc8c23d76 (patch)
treeeb4ececaecd655da4d44af24d1c80114d5d206fd /gcc/tree-pretty-print.c
parent5fe33912efdcc4337660f8c8c34e0ac7c6a8798b (diff)
downloadgcc-d2d3b1ae29e7a178921e972e8a17a37fc8c23d76.tar.gz
2010-04-09 Richard Guenther <rguenther@suse.de>
* tree-pretty-print.c (dump_generic_node): Dump TYPE_VECTOR_SUBPARTS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158165 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r--gcc/tree-pretty-print.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c
index 44d4a5d9c03..6a40b6f42d1 100644
--- a/gcc/tree-pretty-print.c
+++ b/gcc/tree-pretty-print.c
@@ -695,7 +695,10 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
}
else if (TREE_CODE (node) == VECTOR_TYPE)
{
- pp_string (buffer, "vector ");
+ pp_string (buffer, "vector");
+ pp_character (buffer, '(');
+ pp_wide_integer (buffer, TYPE_VECTOR_SUBPARTS (node));
+ pp_string (buffer, ") ");
dump_generic_node (buffer, TREE_TYPE (node), spc, flags, false);
}
else if (TREE_CODE (node) == INTEGER_TYPE)