aboutsummaryrefslogtreecommitdiff
path: root/gcc/lto-streamer.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-06-13 16:50:26 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-06-13 14:50:26 +0000
commit7a40b8b1219358fed159dbfe516ad795252f062c (patch)
treeaa39f92fe9688daf10109d15793c2c6e0bf4814a /gcc/lto-streamer.c
parent0f398cb4885e76e6f43310eaf9765d7f6b87e9ea (diff)
downloadgcc-7a40b8b1219358fed159dbfe516ad795252f062c.zip
gcc-7a40b8b1219358fed159dbfe516ad795252f062c.tar.gz
gcc-7a40b8b1219358fed159dbfe516ad795252f062c.tar.bz2
bitmap.c (bitmap_and, [...]): Turn internal datastructure checks into checking asserts.
* bitmap.c (bitmap_and, bitmap_and_into, bitmap_and_compl, bitmap_and_compl_into, bitmap_compl_and_into, bitmap_ior, bitmap_ior_into, bitmap_xor, bitmap_xor_into, bitmap_ior_and_compl, bitmap_ior_and_compl): Turn internal datastructure checks into checking asserts. * rtlanal.c (find_reg_note): Use gcc_checking_assert. * tree-ssa-sccvn.c (VN_INFO): Likewise. * df-scan.c (df_reorganize_refs_by_reg_by_reg, df_install_ref, df_ref_create_structure): Likewise. * alloc-pool.c (create_alloc_pool, empty_alloc_pool, pool_alloc, pool_free): Use gcc_checking_assert. * alias.c (get_alias_set): Likewise. * var-tracking.c (variable_htab_free, shared_hash_copy, canonicalize_values_mark, variable_merge_over_cur): Likewise. * lto-streamer.c (bp_unpack_value): Likewise. From-SVN: r160681
Diffstat (limited to 'gcc/lto-streamer.c')
-rw-r--r--gcc/lto-streamer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lto-streamer.c b/gcc/lto-streamer.c
index 5b0e774..216bc95 100644
--- a/gcc/lto-streamer.c
+++ b/gcc/lto-streamer.c
@@ -382,7 +382,7 @@ bp_unpack_value (struct bitpack_d *bp, unsigned nbits)
unsigned ix;
/* We cannot decode more bits than BITS_PER_BITPACK_WORD. */
- gcc_assert (nbits > 0 && nbits <= BITS_PER_BITPACK_WORD);
+ gcc_checking_assert (nbits > 0 && nbits <= BITS_PER_BITPACK_WORD);
/* Compute which word contains the next NBITS. */
ix = bp_get_next_word (bp, nbits);