aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1997-06-24 19:18:56 -0700
committerJim Wilson <wilson@gcc.gnu.org>1997-06-24 19:18:56 -0700
commit011063bd06a65aaa62f19f1991a19fa575b240f9 (patch)
treea4c137f33dc0dcbcca69d903c15c576626973d8e /gcc/recog.c
parentd5042f7babffdc94208d976598ec6491403510b7 (diff)
downloadgcc-011063bd06a65aaa62f19f1991a19fa575b240f9.zip
gcc-011063bd06a65aaa62f19f1991a19fa575b240f9.tar.gz
gcc-011063bd06a65aaa62f19f1991a19fa575b240f9.tar.bz2
(constrain_operands): When checking earlyclobbers, use
operands_match_p instead of rtx_equal_p. From-SVN: r14300
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 92fc6d8..5b26857 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -1945,8 +1945,8 @@ constrain_operands (insn_code_num, strict)
/* Ignore things like match_operator operands. */
&& *insn_operand_constraint[insn_code_num][opno] != 0
&& ! (matching_operands[opno] == eopno
- && rtx_equal_p (recog_operand[opno],
- recog_operand[eopno]))
+ && operands_match_p (recog_operand[opno],
+ recog_operand[eopno]))
&& ! safe_from_earlyclobber (recog_operand[opno],
recog_operand[eopno]))
lose = 1;