diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-07 14:30:25 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-07 14:30:25 +0000 |
commit | 3e790786cfb2c88061ebc1faad8273489bf3c388 (patch) | |
tree | 562f4507f40d0b9cd1ffaff1ad4960266f21f391 /gcc/sched-rgn.c | |
parent | aed164c3b749041e52ddb15d0114078e9dbeb7ae (diff) | |
download | gcc-3e790786cfb2c88061ebc1faad8273489bf3c388.tar.gz |
* sbitmap.h (sbitmap_iterator, sbitmap_iter_init,
sbitmap_iter_cond, sbitmap_iter_next): New.
* bt-load.c, cfganal.c, combine.c, ddg.c, flow.c,
modulo-sched.c, sbitmap.c, sched-rgn.c, tree-into-ssa.c,
tree-outof-ssa.c, tree-ssa-alias.c, tree-ssa-live.c: Update
uses of EXECUTE_IF_SET_IN_SBITMAP to the new style.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100709 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-rgn.c')
-rw-r--r-- | gcc/sched-rgn.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index 7c6afbe3581..4196e6d7e93 100644 --- a/gcc/sched-rgn.c +++ b/gcc/sched-rgn.c @@ -351,7 +351,8 @@ is_cfg_nonregular (void) static void extract_edgelst (sbitmap set, edgelst *el) { - int i; + unsigned int i; + sbitmap_iterator sbi; /* edgelst table space is reused in each call to extract_edgelst. */ edgelst_last = 0; @@ -360,11 +361,11 @@ extract_edgelst (sbitmap set, edgelst *el) el->nr_members = 0; /* Iterate over each word in the bitset. */ - EXECUTE_IF_SET_IN_SBITMAP (set, 0, i, - { - edgelst_table[edgelst_last++] = rgn_edges[i]; - el->nr_members++; - }); + EXECUTE_IF_SET_IN_SBITMAP (set, 0, i, sbi) + { + edgelst_table[edgelst_last++] = rgn_edges[i]; + el->nr_members++; + } } /* Functions for the construction of regions. */ |