summaryrefslogtreecommitdiff
path: root/gcc/sched-rgn.c
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-09 21:59:32 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-08-09 21:59:32 +0000
commit156093aafb1e685f0d09b2d2a70a1d0f910a0da6 (patch)
tree1e7008b03a7aff28f1cd7bb22f1c37a20bc77b6c /gcc/sched-rgn.c
parent58e068caa3262d19611a9a55e9236a2c9ab93aa2 (diff)
downloadgcc-156093aafb1e685f0d09b2d2a70a1d0f910a0da6.tar.gz
* calls.c (mem_overlaps_already_clobbered_arg_p): Use SBITMAP_SIZE
instead of looking at sbitmap n_bits member directly. * gcse.c (hoist_code): Likewise. * sched-rgn.c (split_edges): Likewise. * tree-into-ssa.c (is_old_name, is_new_name, add_new_name_mapping, update_ssa): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-rgn.c')
-rw-r--r--gcc/sched-rgn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c
index 1dd0d814a45..0498cede694 100644
--- a/gcc/sched-rgn.c
+++ b/gcc/sched-rgn.c
@@ -1455,7 +1455,7 @@ compute_dom_prob_ps (int bb)
static void
split_edges (int bb_src, int bb_trg, edgelst *bl)
{
- sbitmap src = sbitmap_alloc (pot_split[bb_src]->n_bits);
+ sbitmap src = sbitmap_alloc (SBITMAP_SIZE (pot_split[bb_src]));
sbitmap_copy (src, pot_split[bb_src]);
sbitmap_difference (src, src, pot_split[bb_trg]);