(can_combine_p): Even if SMALL_REGISTER_CLASSES, know lifetime not
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 23 Sep 1996 23:28:23 +0000 (19:28 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 23 Sep 1996 23:28:23 +0000 (19:28 -0400)
extended if all_adjacent set.

From-SVN: r12789

gcc/combine.c

index 796a7c24cdd3bc1bc1a017c992ab9e1e4cba728e..5f07a35e1be6d33a180eae0ab45ed6f8f7f3a0c6 100644 (file)
@@ -964,7 +964,7 @@ can_combine_p (insn, i3, pred, succ, pdest, psrc)
              || (REGNO (src) < FIRST_PSEUDO_REGISTER
                  && (! HARD_REGNO_MODE_OK (REGNO (src), GET_MODE (src))
 #ifdef SMALL_REGISTER_CLASSES
-                     || ! REG_USERVAR_P (src)
+                     || (! all_adjacent && ! REG_USERVAR_P (src))
 #endif
                      ))))
        return 0;