projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a49cbd
)
(update_flow_info): When add REG_DEAD notes for dest of
author
Jim Wilson
<wilson@gcc.gnu.org>
Tue, 17 Dec 1996 20:02:06 +0000
(12:02 -0800)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Tue, 17 Dec 1996 20:02:06 +0000
(12:02 -0800)
last insn, add check for global_regs.
From-SVN: r13318
gcc/sched.c
patch
|
blob
|
history
diff --git
a/gcc/sched.c
b/gcc/sched.c
index
71cf52f
..
3560711
100644
(file)
--- a/
gcc/sched.c
+++ b/
gcc/sched.c
@@
-4629,6
+4629,10
@@
update_flow_info (notes, first, last, orig_insn)
dest = XEXP (dest, 0);
if (GET_CODE (dest) == REG
+ /* Global registers are always live, so the code below does not
+ apply to them. */
+ && (REGNO (dest) >= FIRST_PSEUDO_REGISTER
+ || ! global_regs[REGNO (dest)])
&& ! reg_overlap_mentioned_p (dest, SET_SRC (set)))
{
for (insn = PREV_INSN (last); ; insn = PREV_INSN (insn))