projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9966b39
)
(distribute_notes, case REG_DEAD): If a call uses a
author
Richard Earnshaw
<erich@gnu.org>
Sat, 25 Jun 1994 10:04:06 +0000
(10:04 +0000)
committer
Richard Earnshaw
<erich@gnu.org>
Sat, 25 Jun 1994 10:04:06 +0000
(10:04 +0000)
hard reg, then this is where it dies.
From-SVN: r7569
gcc/combine.c
patch
|
blob
|
history
diff --git
a/gcc/combine.c
b/gcc/combine.c
index ff902e4c9722a35826c17dc1ec72f96ff718d6b7..b32f3fed35f6abe93cbdb27b9c553d444a6d8074 100644
(file)
--- a/
gcc/combine.c
+++ b/
gcc/combine.c
@@
-10520,7
+10520,9
@@
distribute_notes (notes, from_insn, i3, i2, elim_i2, elim_i1)
break;
}
}
- else if (reg_referenced_p (XEXP (note, 0), PATTERN (tem)))
+ else if (reg_referenced_p (XEXP (note, 0), PATTERN (tem))
+ || (GET_CODE (tem) == CALL_INSN
+ && find_reg_fusage (tem, USE, XEXP (note, 0))))
{
place = tem;
break;