diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2004-11-02 20:30:50 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2004-11-02 12:30:50 -0800 |
commit | f7569f3a0f8f97141b08bb5c8ac58fcbc7eeccf2 (patch) | |
tree | 973673f49ffbd9159a24e2d2f1dad94a186fd35c /gcc/flow.c | |
parent | 65958285a0d780258a51b32017ccce33ddd834c6 (diff) | |
download | gcc-f7569f3a0f8f97141b08bb5c8ac58fcbc7eeccf2.zip gcc-f7569f3a0f8f97141b08bb5c8ac58fcbc7eeccf2.tar.gz gcc-f7569f3a0f8f97141b08bb5c8ac58fcbc7eeccf2.tar.bz2 |
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
Diffstat (limited to 'gcc/flow.c')
-rw-r--r-- | gcc/flow.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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); |