aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-05-10 01:30:56 +0000
committerRichard Stallman <rms@gnu.org>1992-05-10 01:30:56 +0000
commit95d3562b5a4f0f6b30e36a99d4de2e15fd98637f (patch)
tree5e2b7633e1d68037d8c40250530c1db16e5f7271
parent9230c95087d6920f01e29e31c5e87339bd3055cd (diff)
downloadgcc-95d3562b5a4f0f6b30e36a99d4de2e15fd98637f.zip
gcc-95d3562b5a4f0f6b30e36a99d4de2e15fd98637f.tar.gz
gcc-95d3562b5a4f0f6b30e36a99d4de2e15fd98637f.tar.bz2
*** empty log message ***
From-SVN: r950
-rw-r--r--gcc/reload.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/reload.c b/gcc/reload.c
index c69024e..a1415c2 100644
--- a/gcc/reload.c
+++ b/gcc/reload.c
@@ -4538,7 +4538,7 @@ find_equiv_reg (goal, insn, class, other, reload_reg_p, goalreg, mode)
into a reg, we can use that reg. */
|| (goal_const && (tem = find_reg_note (p, REG_EQUIV, 0))
&& rtx_equal_p (XEXP (tem, 0), goal)
- && (valueno = true_regnum (valtry = SET_DEST (pat))))
+ && (valueno = true_regnum (valtry = SET_DEST (pat))) >= 0)
|| (goal_const && (tem = find_reg_note (p, REG_EQUIV, 0))
&& GET_CODE (SET_DEST (pat)) == REG
&& GET_CODE (XEXP (tem, 0)) == CONST_DOUBLE
@@ -4547,7 +4547,7 @@ find_equiv_reg (goal, insn, class, other, reload_reg_p, goalreg, mode)
&& INTVAL (goal) == CONST_DOUBLE_LOW (XEXP (tem, 0))
&& (valtry = operand_subword (SET_DEST (pat), 0, 0,
VOIDmode))
- && (valueno = true_regnum (valtry)))
+ && (valueno = true_regnum (valtry)) >= 0)
|| (goal_const && (tem = find_reg_note (p, REG_EQUIV, 0))
&& GET_CODE (SET_DEST (pat)) == REG
&& GET_CODE (XEXP (tem, 0)) == CONST_DOUBLE
@@ -4556,7 +4556,7 @@ find_equiv_reg (goal, insn, class, other, reload_reg_p, goalreg, mode)
&& INTVAL (goal) == CONST_DOUBLE_HIGH (XEXP (tem, 0))
&& (valtry
= operand_subword (SET_DEST (pat), 1, 0, VOIDmode))
- && (valueno = true_regnum (valtry)))))
+ && (valueno = true_regnum (valtry)) >= 0)))
if (other >= 0
? valueno == other
: ((unsigned) valueno < FIRST_PSEUDO_REGISTER