diff options
author | Jason Merrill <jason@redhat.com> | 2003-10-08 14:13:53 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2003-10-08 14:13:53 -0400 |
commit | f06c07c7b82d458acae89b42daf7949b6160b906 (patch) | |
tree | 08ddcef4538ce6d1ed657340a4ad529e1d042316 /gcc | |
parent | 63cdad1bb3034d2a92c95658cd625acdc830b7af (diff) | |
download | gcc-f06c07c7b82d458acae89b42daf7949b6160b906.zip gcc-f06c07c7b82d458acae89b42daf7949b6160b906.tar.gz gcc-f06c07c7b82d458acae89b42daf7949b6160b906.tar.bz2 |
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
Diffstat (limited to 'gcc')
-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 0f6d632..9b3ac45 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 4a006b2..b2161b0 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); |