summaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-01 17:20:09 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2001-01-01 17:20:09 +0000
commitea087693c38ab55f5dc37fe760065c42b119bd59 (patch)
tree80546867210a76704105233dd832200764c92fe5 /gcc/local-alloc.c
parent342f389720577eaa20f8e059bb40b2ef399abc83 (diff)
downloadgcc-ea087693c38ab55f5dc37fe760065c42b119bd59.tar.gz
Extra arg for rtx_varies_p
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38590 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r--gcc/local-alloc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index f1d1b8527b3..1abe902015c 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