diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-08-09 21:59:32 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-08-09 21:59:32 +0000 |
commit | 156093aafb1e685f0d09b2d2a70a1d0f910a0da6 (patch) | |
tree | 1e7008b03a7aff28f1cd7bb22f1c37a20bc77b6c /gcc/calls.c | |
parent | 58e068caa3262d19611a9a55e9236a2c9ab93aa2 (diff) | |
download | gcc-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/calls.c')
-rw-r--r-- | gcc/calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/calls.c b/gcc/calls.c index d4bcd7b67d4..5bc1b1ebb87 100644 --- a/gcc/calls.c +++ b/gcc/calls.c @@ -1850,7 +1850,7 @@ mem_overlaps_already_clobbered_arg_p (rtx addr, unsigned HOST_WIDE_INT size) unsigned HOST_WIDE_INT k; for (k = 0; k < size; k++) - if (i + k < stored_args_map->n_bits + if (i + k < SBITMAP_SIZE (stored_args_map) && TEST_BIT (stored_args_map, i + k)) return true; } |