From: Richard Kenner Date: Mon, 5 Jun 1995 23:23:02 +0000 (-0400) Subject: (attach_deaths): In last change, use find_reg_note instead of X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=025cc92388565c9366f5312bd517234f9ff2a688;p=gcc.git (attach_deaths): In last change, use find_reg_note instead of find_regno_note. From-SVN: r9883 --- diff --git a/gcc/sched.c b/gcc/sched.c index ccd8b563a7a..69d74923b6d 100644 --- a/gcc/sched.c +++ b/gcc/sched.c @@ -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. */