OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3b8a37
)
*** empty log message ***
author
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Jun 1992 04:29:24 +0000
(
04:29
+0000)
committer
rms
<rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Jun 1992 04:29:24 +0000
(
04:29
+0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1332
138bc75d
-0d04-0410-961f-
82ee72b054a4
gcc/flow.c
patch
|
blob
|
history
diff --git
a/gcc/flow.c
b/gcc/flow.c
index
bc036dd
..
023af32
100644
(file)
--- a/
gcc/flow.c
+++ b/
gcc/flow.c
@@
-1628,13
+1628,14
@@
libcall_dead_p (x, needed, note, insn)
}
/* Return 1 if register REGNO was used before it was set.
- In other words, if it is live at function entry. */
+ In other words, if it is live at function entry.
+ Don't count global regster variables, though. */
int
regno_uninitialized (regno)
int regno;
{
- if (n_basic_blocks == 0)
+ if (n_basic_blocks == 0
|| global_regs[regno]
)
return 0;
return (basic_block_live_at_start[0][regno / REGSET_ELT_BITS]