aboutsummaryrefslogtreecommitdiff
path: root/gcc/var-tracking.c
diff options
context:
space:
mode:
authorJosef Zlomek <zlomekj@suse.cz>2004-07-21 19:03:47 +0200
committerJosef Zlomek <zlomek@gcc.gnu.org>2004-07-21 17:03:47 +0000
commit0e6ed89966f8864f22f0e2bfdddf1a725b897eb8 (patch)
treef0ad1f12d7fd4fa4e8c7241e2d8db423a72fc4d6 /gcc/var-tracking.c
parent4de69546bbe851fcc1ac199e0ae8600696b58dac (diff)
downloadgcc-0e6ed89966f8864f22f0e2bfdddf1a725b897eb8.zip
gcc-0e6ed89966f8864f22f0e2bfdddf1a725b897eb8.tar.gz
gcc-0e6ed89966f8864f22f0e2bfdddf1a725b897eb8.tar.bz2
var-tracking.c (vt_find_locations): Set the in_pending bitmap at once.
* var-tracking.c (vt_find_locations): Set the in_pending bitmap at once. From-SVN: r85012
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 f4eb356..6e95e50 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))
{