From 73b236b5f68ba71de296d8c8bfe0eddbc9af9996 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 23 Jun 1994 17:59:22 -0400 Subject: [PATCH] (find_reloads): Don't rejecting non-const due to value of PREFERRED_RELOAD_CLASS if no regs were valid for alternative. From-SVN: r7541 --- gcc/reload.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/reload.c b/gcc/reload.c index 6aabcf299b6..22e9f5ff070 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)) -- 2.34.1