summaryrefslogtreecommitdiff
path: root/gcc/c-pretty-print.c
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-08 18:13:53 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-08 18:13:53 +0000
commit3d6aa0385c8446227160ed80384608ae3b88267f (patch)
tree08ddcef4538ce6d1ed657340a4ad529e1d042316 /gcc/c-pretty-print.c
parent646852526cffe6ff8f73689cac85ce356bb9120e (diff)
downloadgcc-3d6aa0385c8446227160ed80384608ae3b88267f.tar.gz
* c-pretty-print.c (pp_c_postfix_expression)
<COMPOUND_LITERAL_EXPR>: Fix thinko. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72236 138bc75d-0d04-0410-961f-82ee72b054a4
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 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);