* stmt.c (expand_asm_operands): Use new assign_temp function.
authorPer Bothner <bothner@gcc.gnu.org>
Fri, 29 Dec 1995 19:15:54 +0000 (11:15 -0800)
committerPer Bothner <bothner@gcc.gnu.org>
Fri, 29 Dec 1995 19:15:54 +0000 (11:15 -0800)
From-SVN: r10901

gcc/stmt.c

index 9b2130f6e91c1e1435cba7a8490b693ae75a51ef..3090593871b34884db668814a0bc0c64836c6869 100644 (file)
@@ -1477,15 +1477,7 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
        }
       else
        {
-         if (TYPE_MODE (type) == BLKmode)
-           {
-             output_rtx[i] = assign_stack_temp (BLKmode,
-                                                int_size_in_bytes (type), 0);
-             MEM_IN_STRUCT_P (output_rtx[i]) = AGGREGATE_TYPE_P (type);
-           }
-         else
-           output_rtx[i] = gen_reg_rtx (TYPE_MODE (type));
-
+         output_rtx[i] = assign_temp (type, 0, 0);
          TREE_VALUE (tail) = make_tree (type, output_rtx[i]);
        }
     }
@@ -1585,10 +1577,8 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
              || GET_CODE (XVECEXP (body, 3, i)) == CONCAT))
        {
          tree type = TREE_TYPE (TREE_VALUE (tail));
-         rtx memloc = assign_stack_temp (TYPE_MODE (type),
-                                         int_size_in_bytes (type), 1);
+         rtx memloc = assign_temp (type, 1, 1);
 
-         MEM_IN_STRUCT_P (memloc) = AGGREGATE_TYPE_P (type);
          emit_move_insn (memloc, XVECEXP (body, 3, i));
          XVECEXP (body, 3, i) = memloc;
        }