From: Martin Liska Date: Thu, 9 Nov 2017 10:27:21 +0000 (+0100) Subject: Remove non needed check in bmp_iter_set_init (PR tree-optimization/82669). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6281f27646adc69c4b23aab23347261d39102a7a;p=gcc.git Remove non needed check in bmp_iter_set_init (PR tree-optimization/82669). 2017-11-09 Martin Liska PR tree-optimization/82669 * sbitmap.h (bmp_iter_set_init): Remove non needed check. From-SVN: r254567 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12fbaa0ac73..3cb3b9eafcd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-11-09 Martin Liska + + PR tree-optimization/82669 + * sbitmap.h (bmp_iter_set_init): Remove non needed check. + 2017-11-09 Martin Liska PR gcov-profile/48463 diff --git a/gcc/sbitmap.h b/gcc/sbitmap.h index a5ff0685e43..3c58bf01fdc 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;