summaryrefslogtreecommitdiffstats
path: root/gcc/flow.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-02 20:30:50 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-02 20:30:50 +0000
commit85a4f29a241050e176cc39fa29c17a880923a9e6 (patch)
tree973673f49ffbd9159a24e2d2f1dad94a186fd35c /gcc/flow.c
parent3dac5c5e8b764c8efd0695fb852b1707eecd6e7d (diff)
downloadppe42-gcc-85a4f29a241050e176cc39fa29c17a880923a9e6.tar.gz
ppe42-gcc-85a4f29a241050e176cc39fa29c17a880923a9e6.zip
* flow.c (init_propagate_block_info): Use bitmap_empty_p on result
of bitmap_xor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89998 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flow.c')
-rw-r--r--gcc/flow.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/flow.c b/gcc/flow.c
index 163e5c9a480..7c81d6928db 100644
--- a/gcc/flow.c
+++ b/gcc/flow.c
@@ -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);
OpenPOWER on IntegriCloud