summaryrefslogtreecommitdiff
path: root/gcc/var-tracking.c
diff options
context:
space:
mode:
authorzlomek <zlomek@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-21 17:03:47 +0000
committerzlomek <zlomek@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-21 17:03:47 +0000
commitd86eb5b2499a174d88ca3798a1088efd14b7b423 (patch)
treef0ad1f12d7fd4fa4e8c7241e2d8db423a72fc4d6 /gcc/var-tracking.c
parentdc1ded22756608587b50d10a7f9d57653e92c1fd (diff)
downloadgcc-d86eb5b2499a174d88ca3798a1088efd14b7b423.tar.gz
* var-tracking.c (vt_find_locations): Set the in_pending bitmap at
once. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85012 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/var-tracking.c')
-rw-r--r--gcc/var-tracking.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c
index f4eb356a595..6e95e502941 100644
--- a/gcc/var-tracking.c
+++ b/gcc/var-tracking.c
@@ -1700,13 +1700,10 @@ vt_find_locations (void)
in_worklist = sbitmap_alloc (last_basic_block);
in_pending = sbitmap_alloc (last_basic_block);
sbitmap_zero (in_worklist);
- sbitmap_zero (in_pending);
FOR_EACH_BB (bb)
- {
- fibheap_insert (pending, bb_order[bb->index], bb);
- SET_BIT (in_pending, bb->index);
- }
+ fibheap_insert (pending, bb_order[bb->index], bb);
+ sbitmap_ones (in_pending);
while (!fibheap_empty (pending))
{