diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2002-05-09 22:05:33 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-05-09 22:05:33 +0000 |
commit | e9d2a91a8bfe186f5a4f8c9bcad572fc4f0e70d0 (patch) | |
tree | c88ebc4828afcf1dd696a2bacd15fda122fd85a0 /contrib | |
parent | b2eb577abd992334754ea30efb8ced994ba716b1 (diff) | |
download | src-test2-e9d2a91a8bfe186f5a4f8c9bcad572fc4f0e70d0.tar.gz src-test2-e9d2a91a8bfe186f5a4f8c9bcad572fc4f0e70d0.zip |
Notes
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gcc/print-tree.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/gcc/print-tree.c b/contrib/gcc/print-tree.c index 33236cf85f14..eb170127441c 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); |