]> gcc.gnu.org Git - gcc.git/commitdiff
(find_reloads): Don't rejecting non-const due to value of
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 23 Jun 1994 21:59:22 +0000 (17:59 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 23 Jun 1994 21:59:22 +0000 (17:59 -0400)
PREFERRED_RELOAD_CLASS if no regs were valid for alternative.

From-SVN: r7541

gcc/reload.c

index 6aabcf299b61711dd705f419f129b039758a6876..22e9f5ff07051c50ed4199fb10c81c1183a532f2 100644 (file)
@@ -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))
This page took 0.070506 seconds and 5 git commands to generate.