OSDN Git Service

2007-02-15 Sandra Loosemore <sandra@codesourcery.com>
[pf3gnuchains/gcc-fork.git] / gcc / cp / cp-gimplify.c
index 6a427c6..aa1b0ed 100644 (file)
@@ -410,7 +410,7 @@ cp_gimplify_init_expr (tree *expr_p, tree *pre_p, tree *post_p)
   if (TREE_CODE (sub) == AGGR_INIT_EXPR)
     {
       gimplify_expr (&to, pre_p, post_p, is_gimple_lvalue, fb_lvalue);
-      TREE_OPERAND (sub, 2) = to;
+      AGGR_INIT_EXPR_SLOT (sub) = to;
       *expr_p = from;
 
       /* The initialization is now a side-effect, so the container can