diff options
author | Bernd Schmidt <bernds@redhat.com> | 2001-01-01 17:20:09 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2001-01-01 17:20:09 +0000 |
commit | e38fe8e0cb53df06102d753bc27124ce5930af3e (patch) | |
tree | 80546867210a76704105233dd832200764c92fe5 /gcc/local-alloc.c | |
parent | 7d797311fb4c1883b6b32fe9d72ed8fe5f002a3b (diff) | |
download | gcc-e38fe8e0cb53df06102d753bc27124ce5930af3e.zip gcc-e38fe8e0cb53df06102d753bc27124ce5930af3e.tar.gz gcc-e38fe8e0cb53df06102d753bc27124ce5930af3e.tar.bz2 |
Extra arg for rtx_varies_p
From-SVN: r38590
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r-- | gcc/local-alloc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index f1d1b85..1abe902 100644 --- a/gcc/local-alloc.c +++ b/gcc/local-alloc.c @@ -540,7 +540,7 @@ equiv_init_varies_p (x) return 0; case REG: - return reg_equiv[REGNO (x)].replace == 0 && rtx_varies_p (x); + return reg_equiv[REGNO (x)].replace == 0 && rtx_varies_p (x, 0); case ASM_OPERANDS: if (MEM_VOLATILE_P (x)) @@ -604,7 +604,7 @@ equiv_init_movable_p (x, regno) case REG: return (reg_equiv[REGNO (x)].loop_depth >= reg_equiv[regno].loop_depth && reg_equiv[REGNO (x)].replace) - || (REG_BASIC_BLOCK (REGNO (x)) < 0 && ! rtx_varies_p (x)); + || (REG_BASIC_BLOCK (REGNO (x)) < 0 && ! rtx_varies_p (x, 0)); case UNSPEC_VOLATILE: return 0; @@ -933,7 +933,7 @@ update_equiv_regs () /* cse sometimes generates function invariants, but doesn't put a REG_EQUAL note on the insn. Since this note would be redundant, there's no point creating it earlier than here. */ - if (! note && ! rtx_varies_p (src)) + if (! note && ! rtx_varies_p (src, 0)) REG_NOTES (insn) = note = gen_rtx_EXPR_LIST (REG_EQUAL, src, REG_NOTES (insn)); @@ -944,7 +944,7 @@ update_equiv_regs () if (REG_N_SETS (regno) != 1 && (! note - || rtx_varies_p (XEXP (note, 0)) + || rtx_varies_p (XEXP (note, 0), 0) || (reg_equiv[regno].replacement && ! rtx_equal_p (XEXP (note, 0), reg_equiv[regno].replacement)))) @@ -958,7 +958,7 @@ update_equiv_regs () /* If this register is known to be equal to a constant, record that it is always equivalent to the constant. */ - if (note && ! rtx_varies_p (XEXP (note, 0))) + if (note && ! rtx_varies_p (XEXP (note, 0), 0)) PUT_MODE (note, (enum machine_mode) REG_EQUIV); /* If this insn introduces a "constant" register, decrease the priority |