summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-09 22:05:33 +0000
committerobrien <obrien@FreeBSD.org>2002-05-09 22:05:33 +0000
commit7d3f59c051222ef74a34b45967e4e65f58a66d9d (patch)
treec88ebc4828afcf1dd696a2bacd15fda122fd85a0 /contrib/gcc
parentec81e43ce57f151e966a4f8805b8da3d84202bc2 (diff)
downloadFreeBSD-src-7d3f59c051222ef74a34b45967e4e65f58a66d9d.zip
FreeBSD-src-7d3f59c051222ef74a34b45967e4e65f58a66d9d.tar.gz
Use the stock (3.1) version.
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/print-tree.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/gcc/print-tree.c b/contrib/gcc/print-tree.c
index 33236cf..eb17012 100644
--- a/contrib/gcc/print-tree.c
+++ b/contrib/gcc/print-tree.c
@@ -330,6 +330,8 @@ print_node (file, prefix, node, indent)
fputs (" common", file);
if (DECL_EXTERNAL (node))
fputs (" external", file);
+ if (DECL_WEAK (node))
+ fputs (" weak", file);
if (DECL_REGISTER (node) && TREE_CODE (node) != FIELD_DECL
&& TREE_CODE (node) != FUNCTION_DECL
&& TREE_CODE (node) != LABEL_DECL)
@@ -709,6 +711,22 @@ print_node (file, prefix, node, indent)
}
break;
+ case VECTOR_CST:
+ {
+ tree vals = TREE_VECTOR_CST_ELTS (node);
+ char buf[10];
+ tree link;
+ int i;
+
+ i = 0;
+ for (link = vals; link; link = TREE_CHAIN (link), ++i)
+ {
+ sprintf (buf, "elt%d: ", i);
+ print_node (file, buf, TREE_VALUE (link), indent + 4);
+ }
+ }
+ break;
+
case COMPLEX_CST:
print_node (file, "real", TREE_REALPART (node), indent + 4);
print_node (file, "imag", TREE_IMAGPART (node), indent + 4);
OpenPOWER on IntegriCloud