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
This commit is contained in:
Jakub Jelinek 2008-11-04 21:07:26 +01:00 committed by Jakub Jelinek
parent cbc19f3932
commit 83371ec7b1
2 changed files with 6 additions and 1 deletions

View 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.

View 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))
{