diff options
| author | Alexandre Oliva <aoliva@redhat.com> | 2000-09-02 02:54:55 +0000 |
|---|---|---|
| committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-09-02 02:54:55 +0000 |
| commit | 6462bb432fe58e6dba719b88df693f768a05e5a6 (patch) | |
| tree | 69d434a432d126114d1f18512af30880687b1df2 /gcc/emit-rtl.c | |
| parent | 298ec8f42f65f88ac5bf4df5f8592adc0edfbdfc (diff) | |
| download | gcc-6462bb432fe58e6dba719b88df693f768a05e5a6.zip gcc-6462bb432fe58e6dba719b88df693f768a05e5a6.tar.gz gcc-6462bb432fe58e6dba719b88df693f768a05e5a6.tar.bz2 | |
rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
* rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
* gcse.c (hash_string_1): New function.
(hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number.
(expr_equiv_p) <ASM_OPERANDS>: Likewise.
* cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
(canon_hash_string): New function.
(canon_hash) <ASM_OPERANDS>: Disregard filename and line number.
(exp_equiv_p) <ASM_OPERANDS>: Likewise.
(fold_rtx): Use ASM_OPERANDS accessor macros.
* emit-rtl.c (copy_insn_1): Likewise.
* integrate.c (copy_rtx_and_substitute): Likewise.
* stmt.c (expand_asm_operands): Likewise. Give an
ASM_OPERANDS rtx the mode of the output reg being set from it.
From-SVN: r36110
Diffstat (limited to 'gcc/emit-rtl.c')
| -rw-r--r-- | gcc/emit-rtl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 9a32582..9eb9639 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -3913,10 +3913,10 @@ copy_insn_1 (orig) } else if (code == ASM_OPERANDS) { - orig_asm_operands_vector = XVEC (orig, 3); - copy_asm_operands_vector = XVEC (copy, 3); - orig_asm_constraints_vector = XVEC (orig, 4); - copy_asm_constraints_vector = XVEC (copy, 4); + orig_asm_operands_vector = ASM_OPERANDS_INPUT_VEC (orig); + copy_asm_operands_vector = ASM_OPERANDS_INPUT_VEC (copy); + orig_asm_constraints_vector = ASM_OPERANDS_INPUT_CONSTRAINT_VEC (orig); + copy_asm_constraints_vector = ASM_OPERANDS_INPUT_CONSTRAINT_VEC (copy); } return copy; |
