aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-01-10 14:30:44 -0800
committerJim Wilson <wilson@gcc.gnu.org>1994-01-10 14:30:44 -0800
commita18730e12ac53d8ee13593431da87cbf9719610c (patch)
treec533df552386652e39bf4c4d9198b51a94271b9e /gcc
parent57a60e95cd78ce2d7796358723c9c934bdcccdc8 (diff)
downloadgcc-a18730e12ac53d8ee13593431da87cbf9719610c.zip
gcc-a18730e12ac53d8ee13593431da87cbf9719610c.tar.gz
gcc-a18730e12ac53d8ee13593431da87cbf9719610c.tar.bz2
(new_insn_dead_notes): Compare registers with rtx_equal_p.
From-SVN: r6366
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 205223c..6de2446 100644
--- a/gcc/sched.c
+++ b/gcc/sched.c
@@ -4011,7 +4011,7 @@ new_insn_dead_notes (pat, insn, last, orig_insn)
|| GET_CODE (tem_dest) == SIGN_EXTRACT)
tem_dest = XEXP (tem_dest, 0);
- if (tem_dest != dest)
+ if (! rtx_equal_p (tem_dest, dest))
{
/* Use the same scheme as combine.c, don't put both REG_DEAD
and REG_UNUSED notes on the same insn. */