aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-11-04 21:07:26 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2008-11-04 21:07:26 +0100
commit83371ec7b1202c89fe3f64db1058bd62192c20e1 (patch)
tree1f00d56d9910f96eb6c2aeb2bfc834821973fb83 /gcc/print-tree.c
parentcbc19f3932ff61af3bce86a4681ffa2efbe96690 (diff)
downloadgcc-83371ec7b1202c89fe3f64db1058bd62192c20e1.zip
gcc-83371ec7b1202c89fe3f64db1058bd62192c20e1.tar.gz
gcc-83371ec7b1202c89fe3f64db1058bd62192c20e1.tar.bz2
print-tree.c (print_node): Don't print DECL_INITIAL for PARM_DECL.
* print-tree.c (print_node): Don't print DECL_INITIAL for PARM_DECL. From-SVN: r141585
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index fb9f126..b3cd335 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -502,7 +502,9 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
{
print_node_brief (file, "attributes",
DECL_ATTRIBUTES (node), indent + 4);
- print_node_brief (file, "initial", DECL_INITIAL (node), indent + 4);
+ if (code != PARM_DECL)
+ print_node_brief (file, "initial", DECL_INITIAL (node),
+ indent + 4);
}
if (CODE_CONTAINS_STRUCT (code, TS_DECL_WRTL))
{