diff options
author | Richard Henderson <rth@gcc.gnu.org> | 2002-05-28 17:25:19 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-05-28 17:25:19 -0700 |
commit | e0e577a2d2b95ad57f36ed3e034fef3957c85e1e (patch) | |
tree | e94f8861be9af3da8f2ed69daed6a8e7777f7b2b /gcc/flow.c | |
parent | 8ea08b7d7bd834782e403121564b9eb2ee6e15a0 (diff) | |
download | gcc-e0e577a2d2b95ad57f36ed3e034fef3957c85e1e.zip gcc-e0e577a2d2b95ad57f36ed3e034fef3957c85e1e.tar.gz gcc-e0e577a2d2b95ad57f36ed3e034fef3957c85e1e.tar.bz2 |
flow.c (update_life_info_in_dirty_blocks): Only do a partial update if UPDATE_LIFE_LOCAL.
* flow.c (update_life_info_in_dirty_blocks): Only do a partial
update if UPDATE_LIFE_LOCAL.
From-SVN: r53978
Diffstat (limited to 'gcc/flow.c')
-rw-r--r-- | gcc/flow.c | 23 |
1 files changed, 18 insertions, 5 deletions
@@ -768,11 +768,24 @@ update_life_info_in_dirty_blocks (extent, prop_flags) sbitmap_zero (update_life_blocks); FOR_EACH_BB (bb) - if (bb->flags & BB_DIRTY) - { - SET_BIT (update_life_blocks, bb->index); - n++; - } + { + if (extent == UPDATE_LIFE_LOCAL) + { + if (bb->flags & BB_DIRTY) + { + SET_BIT (update_life_blocks, bb->index); + n++; + } + } + else + { + /* ??? Bootstrap with -march=pentium4 fails to terminate + with only a partial life update. */ + SET_BIT (update_life_blocks, bb->index); + if (bb->flags & BB_DIRTY) + n++; + } + } if (n) retval = update_life_info (update_life_blocks, extent, prop_flags); |