aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-pretty-print.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2003-10-08 14:13:53 -0400
committerJason Merrill <jason@gcc.gnu.org>2003-10-08 14:13:53 -0400
commitf06c07c7b82d458acae89b42daf7949b6160b906 (patch)
tree08ddcef4538ce6d1ed657340a4ad529e1d042316 /gcc/c-pretty-print.c
parent63cdad1bb3034d2a92c95658cd625acdc830b7af (diff)
downloadgcc-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/c-pretty-print.c')
-rw-r--r--gcc/c-pretty-print.c2
1 files changed, 1 insertions, 1 deletions
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);