Commit 41531e5b by Mike Stump

expr.c (expand_expr, [...]): We must always store into the allocated slot for TAREGT_EXPRs.

       * expr.c (expand_expr, case TARGET_EXPR): We must always store
       into the allocated slot for TAREGT_EXPRs.

From-SVN: r11271
parent f0f50f84
...@@ -6661,12 +6661,12 @@ expand_expr (exp, target, tmode, modifier) ...@@ -6661,12 +6661,12 @@ expand_expr (exp, target, tmode, modifier)
/* Mark it as expanded. */ /* Mark it as expanded. */
TREE_OPERAND (exp, 1) = NULL_TREE; TREE_OPERAND (exp, 1) = NULL_TREE;
temp = expand_expr (exp1, target, tmode, modifier); store_expr (exp1, target, 0);
if (need_exception_region) if (need_exception_region)
(*interim_eh_hook) (NULL_TREE); (*interim_eh_hook) (NULL_TREE);
return temp; return target;
} }
case INIT_EXPR: case INIT_EXPR:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment