aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-08-09 21:59:32 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-08-09 21:59:32 +0000
commitc7c982c5378a79955cd9f8798d014bc54f6fff37 (patch)
tree1e7008b03a7aff28f1cd7bb22f1c37a20bc77b6c /gcc/gcse.c
parent3578ffbe84cad387a48cc1f2757ba76b3e65278b (diff)
* 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: https://gcc.gnu.org/svn/gcc/trunk@190268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index f7c42d20092..fd285de5d88 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -2982,7 +2982,7 @@ hoist_code (void)
/* Examine each expression that is very busy at the exit of this
block. These are the potentially hoistable expressions. */
- for (i = 0; i < hoist_vbeout[bb->index]->n_bits; i++)
+ for (i = 0; i < SBITMAP_SIZE (hoist_vbeout[bb->index]); i++)
{
if (TEST_BIT (hoist_vbeout[bb->index], i))
{