diff options
author | Per Bothner <bothner@gcc.gnu.org> | 1995-12-29 11:15:54 -0800 |
---|---|---|
committer | Per Bothner <bothner@gcc.gnu.org> | 1995-12-29 11:15:54 -0800 |
commit | 4079e525ef2f574952d284768f03ae6d04053d6b (patch) | |
tree | e61c9b281ba52cde48102d824656331f93ace00f /gcc | |
parent | e99a03944a16e9092e00d082b639c2b819b0cc10 (diff) | |
download | gcc-4079e525ef2f574952d284768f03ae6d04053d6b.zip gcc-4079e525ef2f574952d284768f03ae6d04053d6b.tar.gz gcc-4079e525ef2f574952d284768f03ae6d04053d6b.tar.bz2 |
* stmt.c (expand_asm_operands): Use new assign_temp function.
From-SVN: r10901
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/stmt.c | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -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; } |