Add selftests for bitmap_set_range.
commita68b004942f4bb0da08a6b5c36c9898bd3a1170d
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Oct 2017 11:59:39 +0000 (16 11:59 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 16 Oct 2017 11:59:39 +0000 (16 11:59 +0000)
treecd4337fe1c8120f2a28bfd1a1f352c705acf21fe
parent4ee97fcf5e1c688b841863e730104bb8924d3742
Add selftests for bitmap_set_range.

2017-10-16  Martin Liska  <mliska@suse.cz>

* sbitmap.c (bitmap_bit_in_range_p_checking): New function.
(test_set_range): Likewise.
(test_range_functions): Rename to ...
(test_bit_in_range): ... this.
(sbitmap_c_tests): Add new test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@253785 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/sbitmap.c