From: Richard Kenner Date: Thu, 23 Jun 1994 21:59:22 +0000 (-0400) Subject: (find_reloads): Don't rejecting non-const due to value of X-Git-Tag: misc/cutover-egcs-0~6402 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73b236b5f68ba71de296d8c8bfe0eddbc9af9996;p=thirdparty%2Fgcc.git (find_reloads): Don't rejecting non-const due to value of PREFERRED_RELOAD_CLASS if no regs were valid for alternative. From-SVN: r7541 --- diff --git a/gcc/reload.c b/gcc/reload.c index 6aabcf299b61..22e9f5ff0705 100644 --- a/gcc/reload.c +++ b/gcc/reload.c @@ -2970,6 +2970,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p) here. */ if (! CONSTANT_P (operand) + && (enum reg_class) this_alternative[i] != NO_REGS && (PREFERRED_RELOAD_CLASS (operand, (enum reg_class) this_alternative[i]) == NO_REGS))