(attach_deaths): In last change, use find_reg_note instead of
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 5 Jun 1995 23:23:02 +0000 (19:23 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 5 Jun 1995 23:23:02 +0000 (19:23 -0400)
find_regno_note.

From-SVN: r9883

gcc/sched.c

index ccd8b563a7a3ed11fcde2c21212c6e3fa3d8aa89..69d74923b6d23ad8ebfdeb02c5915ad404ab1b8f 100644 (file)
@@ -2869,7 +2869,7 @@ attach_deaths (x, insn, set_p)
                   for the case where the SET_DEST is a subreg of regno, as
                   dead_or_set_p handles subregs specially.  */
                if (! all_needed && ! dead_or_set_p (insn, x)
-                   && ! find_regno_note (insn, REG_UNUSED, regno))
+                   && ! find_reg_note (insn, REG_UNUSED, x))
                  {
                    /* Check for the case where the register dying partially
                       overlaps the register set by this insn.  */