(constrain_operands, case 'r'): If STRICT, a REG isn't valid if it is

a pseudo even if GENERAL_REGS == ALL_REGS.

From-SVN: r3542
This commit is contained in:
Richard Kenner 1993-02-26 15:12:16 -05:00
parent 17938e5781
commit 5a19ad3f22

View File

@ -1739,7 +1739,8 @@ constrain_operands (insn_code_num, strict)
&& REGNO (op) >= FIRST_PSEUDO_REGISTER)
|| (strict == 0 && GET_CODE (op) == SCRATCH)
|| (GET_CODE (op) == REG
&& (GENERAL_REGS == ALL_REGS
&& ((GENERAL_REGS == ALL_REGS
&& REGNO (op) < FIRST_PSEUDO_REGISTER)
|| reg_fits_class_p (op, GENERAL_REGS,
offset, mode))))
win = 1;