aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1995-06-05 19:23:02 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1995-06-05 19:23:02 -0400
commit025cc92388565c9366f5312bd517234f9ff2a688 (patch)
treee383244a91683b07fa29cdd9f37c2381950c2709 /gcc
parenta642a781cbb1da431f513cacbba2e04d94bf82fe (diff)
downloadgcc-025cc92388565c9366f5312bd517234f9ff2a688.zip
gcc-025cc92388565c9366f5312bd517234f9ff2a688.tar.gz
gcc-025cc92388565c9366f5312bd517234f9ff2a688.tar.bz2
(attach_deaths): In last change, use find_reg_note instead of
find_regno_note. From-SVN: r9883
Diffstat (limited to 'gcc')
-rw-r--r--gcc/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sched.c b/gcc/sched.c
index ccd8b56..69d7492 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. */