From: Jakub Jelinek Date: Tue, 4 Nov 2008 20:07:26 +0000 (+0100) Subject: print-tree.c (print_node): Don't print DECL_INITIAL for PARM_DECL. X-Git-Tag: releases/gcc-4.4.0~1818 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=83371ec7b1202c89fe3f64db1058bd62192c20e1;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c42f92ca9c3..13aad418f428 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2008-11-04 Jakub Jelinek + * 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. diff --git a/gcc/print-tree.c b/gcc/print-tree.c index fb9f12692c6f..b3cd3356cd20 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)) {