diff options
author | Martin Liska <mliska@suse.cz> | 2017-11-09 11:27:21 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2017-11-09 10:27:21 +0000 |
commit | 6281f27646adc69c4b23aab23347261d39102a7a (patch) | |
tree | 2d9096e25b5f7d6bcc3c587341671e837eaf5eb1 /gcc | |
parent | d0567dc0dbf92258aaea727b7b93a7d8bc954e33 (diff) | |
download | gcc-6281f27646adc69c4b23aab23347261d39102a7a.zip gcc-6281f27646adc69c4b23aab23347261d39102a7a.tar.gz gcc-6281f27646adc69c4b23aab23347261d39102a7a.tar.bz2 |
Remove non needed check in bmp_iter_set_init (PR tree-optimization/82669).
2017-11-09 Martin Liska <mliska@suse.cz>
PR tree-optimization/82669
* sbitmap.h (bmp_iter_set_init): Remove non needed check.
From-SVN: r254567
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/sbitmap.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12fbaa0..3cb3b9e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2017-11-09 Martin Liska <mliska@suse.cz> + PR tree-optimization/82669 + * sbitmap.h (bmp_iter_set_init): Remove non needed check. + +2017-11-09 Martin Liska <mliska@suse.cz> + PR gcov-profile/48463 * coverage.c (coverage_begin_function): Output also end locus of a function and information whether the function is diff --git a/gcc/sbitmap.h b/gcc/sbitmap.h index a5ff068..3c58bf0 100644 --- a/gcc/sbitmap.h +++ b/gcc/sbitmap.h @@ -171,8 +171,6 @@ static inline void bmp_iter_set_init (sbitmap_iterator *i, const_sbitmap bmp, unsigned int min, unsigned *bit_no ATTRIBUTE_UNUSED) { - bitmap_check_index (bmp, min); - i->word_num = min / (unsigned int) SBITMAP_ELT_BITS; i->bit_num = min; i->size = bmp->size; |