From 62946075afce674ab5925867323eafeee58e5ea7 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sun, 19 Apr 1992 20:00:41 +0000 Subject: [PATCH] *** empty log message *** From-SVN: r796 --- gcc/recog.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/recog.c b/gcc/recog.c index b986811693a..b9fcdbe7aa2 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -1878,7 +1878,11 @@ constrain_operands (insn_code_num, strict) if (strict > 0) for (eopno = 0; eopno < noperands; eopno++) - if (earlyclobber[eopno]) + /* Ignore earlyclobber operands now in memory, + because we would often report failure when we have + two memory operands, one of which was formerly a REG. */ + if (earlyclobber[eopno] + && GET_CODE (recog_operand[eopno]) == REG) for (opno = 0; opno < noperands; opno++) if ((GET_CODE (recog_operand[opno]) == MEM || op_types[opno] != OP_OUT) -- 2.30.2