From f06c07c7b82d458acae89b42daf7949b6160b906 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 8 Oct 2003 14:13:53 -0400 Subject: [PATCH] c-pretty-print.c (pp_c_postfix_expression): Fix thinko. * c-pretty-print.c (pp_c_postfix_expression) : Fix thinko. From-SVN: r72236 --- gcc/ChangeLog | 5 +++++ gcc/c-pretty-print.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 + + * c-pretty-print.c (pp_c_postfix_expression) + : Fix thinko. + 2003-10-08 Rainer Orth * 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); -- 2.30.2