Commit 73b236b5 by Richard Kenner

(find_reloads): Don't rejecting non-const due to value of

PREFERRED_RELOAD_CLASS if no regs were valid for alternative.

From-SVN: r7541
parent d8e5c946
...@@ -2970,6 +2970,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p) ...@@ -2970,6 +2970,7 @@ find_reloads (insn, replace, ind_levels, live_known, reload_reg_p)
here. */ here. */
if (! CONSTANT_P (operand) if (! CONSTANT_P (operand)
&& (enum reg_class) this_alternative[i] != NO_REGS
&& (PREFERRED_RELOAD_CLASS (operand, && (PREFERRED_RELOAD_CLASS (operand,
(enum reg_class) this_alternative[i]) (enum reg_class) this_alternative[i])
== NO_REGS)) == NO_REGS))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment