diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/c-pretty-print.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0f6d632bc61..9b3ac45ab3e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/c-pretty-print.c b/gcc/c-pretty-print.c index 4a006b22f42..b2161b0b6a3 100644 --- a/gcc/c-pretty-print.c +++ b/gcc/c-pretty-print.c @@ -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); |

