diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-01-10 14:30:44 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-01-10 14:30:44 -0800 |
commit | a18730e12ac53d8ee13593431da87cbf9719610c (patch) | |
tree | c533df552386652e39bf4c4d9198b51a94271b9e /gcc | |
parent | 57a60e95cd78ce2d7796358723c9c934bdcccdc8 (diff) | |
download | gcc-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.c | 2 |
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. */ |