*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Sun, 19 Apr 1992 20:00:41 +0000 (20:00 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 19 Apr 1992 20:00:41 +0000 (20:00 +0000)
From-SVN: r796

gcc/recog.c

index b986811693a0ffc1688734fbee3a46ea001f072a..b9fcdbe7aa266d950db51a579ce52b8fa8d9d39e 100644 (file)
@@ -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)