aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-09-08 11:40:15 -0700
committerJim Wilson <wilson@gcc.gnu.org>1994-09-08 11:40:15 -0700
commitbabfe4370ee988230f9c4911e98975f5954542b1 (patch)
treeeac1b09183d5d936cc4d9dbbaaee9530d7073a89 /gcc
parent480eac3b81834fb74be638dc3d19028b262f6f33 (diff)
downloadgcc-babfe4370ee988230f9c4911e98975f5954542b1.zip
gcc-babfe4370ee988230f9c4911e98975f5954542b1.tar.gz
gcc-babfe4370ee988230f9c4911e98975f5954542b1.tar.bz2
(attach_deaths): Correct typo, use GET_MODE not GET_CODE.
From-SVN: r8043
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 6f8d423..978d286 100644
--- a/gcc/sched.c
+++ b/gcc/sched.c
@@ -2865,7 +2865,7 @@ attach_deaths (x, insn, set_p)
if (regno < FIRST_PSEUDO_REGISTER
&& HARD_REGNO_NREGS (regno, GET_MODE (x)) > 1)
{
- int n = HARD_REGNO_NREGS (regno, GET_CODE (x));
+ int n = HARD_REGNO_NREGS (regno, GET_MODE (x));
while (--n >= 0)
some_needed |= dead_or_set_regno_p (insn, regno + n);
}