* print-tree.c (print_node): Don't print DECL_INITIAL
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Nov 2008 20:07:26 +0000 (20:07 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 Nov 2008 20:07:26 +0000 (20:07 +0000)
for PARM_DECL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141585 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/print-tree.c

index 2c42f92..13aad41 100644 (file)
@@ -1,5 +1,8 @@
 2008-11-04  Jakub Jelinek  <jakub@redhat.com>
 
+       * print-tree.c (print_node): Don't print DECL_INITIAL
+       for PARM_DECL.
+
        PR c/37106
        * c-common.c (parse_optimize_options): Save and restore
        flag_strict_aliasing around decode_options call.
index fb9f126..b3cd335 100644 (file)
@@ -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))
        {