(reload): Don't start 2-group unless it could be finished.
authorRichard Stallman <rms@gnu.org>
Tue, 18 May 1993 04:44:56 +0000 (04:44 +0000)
committerRichard Stallman <rms@gnu.org>
Tue, 18 May 1993 04:44:56 +0000 (04:44 +0000)
From-SVN: r4492

gcc/reload1.c

index 32f6bf5..844a9e0 100644 (file)
@@ -1693,7 +1693,8 @@ reload (first, global, dumpfile)
                            && TEST_HARD_REG_BIT (reg_class_contents[class], j + 1)
                            && HARD_REGNO_MODE_OK (j, group_mode[class])
                            && ! TEST_HARD_REG_BIT (counted_for_nongroups,
-                                                   j + 1))
+                                                   j + 1)
+                           && ! TEST_HARD_REG_BIT (bad_spill_regs, j + 1))
                          break;
                      }