diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2012-08-09 21:59:32 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2012-08-09 21:59:32 +0000 |
commit | 5829cc0fe4d56025bdad318535b9ecb64b2fae77 (patch) | |
tree | 1e7008b03a7aff28f1cd7bb22f1c37a20bc77b6c /gcc/calls.c | |
parent | b197fc48f9dd8f5f6074721c7afa2306a35820bf (diff) | |
download | gcc-5829cc0fe4d56025bdad318535b9ecb64b2fae77.zip gcc-5829cc0fe4d56025bdad318535b9ecb64b2fae77.tar.gz gcc-5829cc0fe4d56025bdad318535b9ecb64b2fae77.tar.bz2 |
calls.c (mem_overlaps_already_clobbered_arg_p): Use SBITMAP_SIZE instead of looking at sbitmap n_bits member directly.
* 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.
From-SVN: r190268
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 d4bcd7b..5bc1b1e 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; } |