From: Richard Stallman Date: Sun, 19 Apr 1992 20:00:41 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=62946075afce674ab5925867323eafeee58e5ea7;p=gcc.git *** empty log message *** From-SVN: r796 --- 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)