summaryrefslogtreecommitdiff
path: root/gcc/tree-pretty-print.c
diff options
context:
space:
mode:
authordpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-28 17:52:59 +0000
committerdpatel <dpatel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-28 17:52:59 +0000
commit5d8f23920f0d61c30122436eb75ceff78d07747f (patch)
tree83fb9662ec7f307c6a84753df5bbcde6dea6dee4 /gcc/tree-pretty-print.c
parentddfa1692af4c9c754a9b68edd4113cc0d3a5d689 (diff)
downloadgcc-5d8f23920f0d61c30122436eb75ceff78d07747f.tar.gz
* tree-pretty-print.c (dump_generic_node): Print vector types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88240 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r--gcc/tree-pretty-print.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c
index 17770cd35c8..b59e6dd4ed2 100644
--- a/gcc/tree-pretty-print.c
+++ b/gcc/tree-pretty-print.c
@@ -331,7 +331,13 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
&& DECL_NAME (TYPE_NAME (node)))
dump_decl_name (buffer, TYPE_NAME (node), flags);
else
- pp_string (buffer, "<unnamed type>");
+ pp_string (buffer, "<unnamed type>");
+ }
+ else if (TREE_CODE (node) == VECTOR_TYPE)
+ {
+ pp_string (buffer, "vector ");
+ dump_generic_node (buffer, TREE_TYPE (node),
+ spc, flags, false);
}
else
pp_string (buffer, "<unnamed type>");