(cplus_expand_expr): Don't mess with temp slots.
authorJason Merrill <jason@phydeaux.cygnus.com>
Wed, 28 Jun 1995 20:53:02 +0000 (16:53 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 28 Jun 1995 20:53:02 +0000 (16:53 -0400)
From-SVN: r10075

gcc/cp/expr.c

index 1e87c4b8aadf3e506eb5fc1e482dc0aa27784ef9..0c549c34954e33c613da2be0163993cc18e51927 100644 (file)
@@ -132,8 +132,6 @@ cplus_expand_expr (exp, target, tmode, modifier)
          }
        if (call_target)
          {
-           preserve_temp_slots (call_target);
-
            /* Make this a valid memory address now.  The code below assumes
               that it can compare rtx and make assumptions based on the
               result.  The assumptions are true only if the address was
@@ -141,11 +139,9 @@ cplus_expand_expr (exp, target, tmode, modifier)
            call_target = validize_mem (call_target);
          }
 
-       preserve_temp_slots (DECL_RTL (slot));
        call_exp = build (CALL_EXPR, type, func, args, 0);
        TREE_SIDE_EFFECTS (call_exp) = 1;
        return_target = expand_call (call_exp, call_target, ignore);
-       free_temp_slots ();
        if (call_target == 0)
          {
            if (pcc_struct_return)