Commit e0e577a2 by Richard Henderson

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
parent 8ea08b7d
002-05-28 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com> 2002-05-28 Richard Henderson <rth@redhat.com>
* flow.c (update_life_info_in_dirty_blocks): Only do a partial
update if UPDATE_LIFE_LOCAL.
2002-05-28 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
* config/sh/sh.c: Include real.h for REAL_VALUE_TYPE. * config/sh/sh.c: Include real.h for REAL_VALUE_TYPE.
......
...@@ -768,11 +768,24 @@ update_life_info_in_dirty_blocks (extent, prop_flags) ...@@ -768,11 +768,24 @@ update_life_info_in_dirty_blocks (extent, prop_flags)
sbitmap_zero (update_life_blocks); sbitmap_zero (update_life_blocks);
FOR_EACH_BB (bb) FOR_EACH_BB (bb)
if (bb->flags & BB_DIRTY) {
{ if (extent == UPDATE_LIFE_LOCAL)
SET_BIT (update_life_blocks, bb->index); {
n++; 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) if (n)
retval = update_life_info (update_life_blocks, extent, prop_flags); retval = update_life_info (update_life_blocks, extent, prop_flags);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment