summaryrefslogtreecommitdiffstats
path: root/gcc/sched.c
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1994-01-10 22:30:44 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1994-01-10 22:30:44 +0000
commitc004e88cf25755ac6fd2ef85baf823681eab6f18 (patch)
treec533df552386652e39bf4c4d9198b51a94271b9e /gcc/sched.c
parent9a5bf78fe7bbc61ddff7cb2825cf5592039b4f95 (diff)
downloadppe42-gcc-c004e88cf25755ac6fd2ef85baf823681eab6f18.tar.gz
ppe42-gcc-c004e88cf25755ac6fd2ef85baf823681eab6f18.zip
(new_insn_dead_notes): Compare registers with rtx_equal_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6366 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched.c')
-rw-r--r--gcc/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sched.c b/gcc/sched.c
index 205223c582c..6de244623be 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. */
OpenPOWER on IntegriCloud