expr.c (expand_expr, [...]): We must always store into the allocated slot for TAREGT_...
authorMike Stump <mrs@gcc.gnu.org>
Tue, 13 Feb 1996 23:46:51 +0000 (23:46 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Tue, 13 Feb 1996 23:46:51 +0000 (23:46 +0000)
       * expr.c (expand_expr, case TARGET_EXPR): We must always store
       into the allocated slot for TAREGT_EXPRs.

From-SVN: r11271

gcc/expr.c

index 639d9fe..d0e9876 100644 (file)
@@ -6661,12 +6661,12 @@ expand_expr (exp, target, tmode, modifier)
        /* Mark it as expanded.  */
        TREE_OPERAND (exp, 1) = NULL_TREE;
 
-       temp = expand_expr (exp1, target, tmode, modifier);
+       store_expr (exp1, target, 0);
 
        if (need_exception_region)
          (*interim_eh_hook) (NULL_TREE);
        
-       return temp;
+       return target;
       }
 
     case INIT_EXPR: