diff options
author | Richard Stallman <rms@gnu.org> | 1992-06-29 04:29:24 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-06-29 04:29:24 +0000 |
commit | 944e5f7770b38d605bedabd5091376dea893684e (patch) | |
tree | 7e9121f71492c500899050be9149a912b9760587 | |
parent | a4219ac7406c41efb439fa8690b634291f7a9d53 (diff) | |
download | gcc-944e5f7770b38d605bedabd5091376dea893684e.zip gcc-944e5f7770b38d605bedabd5091376dea893684e.tar.gz gcc-944e5f7770b38d605bedabd5091376dea893684e.tar.bz2 |
*** empty log message ***
From-SVN: r1332
-rw-r--r-- | gcc/flow.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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] |