projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4219ac
)
*** empty log message ***
author
Richard Stallman
<rms@gnu.org>
Mon, 29 Jun 1992 04:29:24 +0000
(
04:29
+0000)
committer
Richard Stallman
<rms@gnu.org>
Mon, 29 Jun 1992 04:29:24 +0000
(
04:29
+0000)
From-SVN: r1332
gcc/flow.c
patch
|
blob
|
history
diff --git
a/gcc/flow.c
b/gcc/flow.c
index bc036dd15d8c5a5a8bd85961dd2f3158f1ed5c61..023af323337b8c8e8e7d6fef78825b5da2d654b3 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]