flow.c (init_propagate_block_info): Use bitmap_empty_p on result of bitmap_xor.

* flow.c (init_propagate_block_info): Use bitmap_empty_p on result
        of bitmap_xor.

From-SVN: r89998
This commit is contained in:
Nathan Sidwell 2004-11-02 20:30:50 +00:00 committed by Richard Henderson
parent 65958285a0
commit f7569f3a0f
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2004-11-02 Nathan Sidwell <nathan@codesourcery.com>
* flow.c (init_propagate_block_info): Use bitmap_empty_p on result
of bitmap_xor.
2004-11-02 Ziemowit Laski <zlaski@apple.com>
* c-lang.c (LANG_HOOKS_TYPES_COMPATIBLE_P): Remove.

View File

@ -1848,9 +1848,11 @@ init_propagate_block_info (basic_block bb, regset live, regset local_set,
}
/* Compute which register lead different lives in the successors. */
if (bitmap_xor (diff, bb_true->global_live_at_start,
bb_false->global_live_at_start))
{
bitmap_xor (diff, bb_true->global_live_at_start,
bb_false->global_live_at_start);
if (!bitmap_empty_p (diff))
{
/* Extract the condition from the branch. */
rtx set_src = SET_SRC (pc_set (BB_END (bb)));
rtx cond_true = XEXP (set_src, 0);