c-pretty-print.c (pp_c_postfix_expression): Fix thinko.

* c-pretty-print.c (pp_c_postfix_expression)
        <COMPOUND_LITERAL_EXPR>: Fix thinko.

From-SVN: r72236
This commit is contained in:
Jason Merrill 2003-10-08 14:13:53 -04:00 committed by Jason Merrill
parent 63cdad1bb3
commit f06c07c7b8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-10-08 Jason Merrill <jason@redhat.com>
* c-pretty-print.c (pp_c_postfix_expression)
<COMPOUND_LITERAL_EXPR>: Fix thinko.
2003-10-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* mklibgcc.in: Don't hide undefined or typeless symbols.

View File

@ -1217,7 +1217,7 @@ pp_c_postfix_expression (c_pretty_printer *pp, tree e)
break;
case COMPOUND_LITERAL_EXPR:
e = DECL_INITIAL (e);
e = DECL_INITIAL (COMPOUND_LITERAL_EXPR_DECL (e));
/* Fall through. */
case CONSTRUCTOR:
pp_initializer (pp, e);