From: Richard Kenner Date: Wed, 1 Sep 1993 22:46:03 +0000 (-0400) Subject: (find_reloads): Bump REJECT for a hard register; just not for a X-Git-Tag: misc/cutover-egcs-0~8699 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=915bb7632b64ad515e041b1c077b7c4306b6a8fa;p=thirdparty%2Fgcc.git (find_reloads): Bump REJECT for a hard register; just not for a pseudo. From-SVN: r5244 --- diff --git a/gcc/reload.c b/gcc/reload.c index 37d0efce9335..9fe6a73ee691 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -2935,7 +2935,9 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p) If we are reloading a SCRATCH, we won't be generating any insns, just using a register, so it is also preferred. So bump REJECT in other cases. */ - if (GET_CODE (operand) != REG && GET_CODE (operand) != SCRATCH) + if (! (GET_CODE (operand) == REG + && REGNO (operand) >= FIRST_PSEUDO_REGISTER) + && GET_CODE (operand) != SCRATCH) reject++; }