From 5a19ad3f2276161db7045cc6dd1e1f2675300f67 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 26 Feb 1993 15:12:16 -0500 Subject: [PATCH] (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 --- gcc/recog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/recog.c b/gcc/recog.c index b66cb2c7e1d..6c869d9de1d 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -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;