diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-06-17 19:28:34 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-06-17 19:28:34 +0100 |
commit | 3ebacabd0ec9e8460212c5d4f57dc1d733445915 (patch) | |
tree | b47d0c5bf30dabc9cbda52b50f3846cdf48a576a /gcc/tree-object-size.c | |
parent | 0766b9ab92133db3262da6e2a7d8d9e8ea9ec742 (diff) | |
download | gcc-3ebacabd0ec9e8460212c5d4f57dc1d733445915.zip gcc-3ebacabd0ec9e8460212c5d4f57dc1d733445915.tar.gz gcc-3ebacabd0ec9e8460212c5d4f57dc1d733445915.tar.bz2 |
libstdc++/71545 fix debug checks in binary search algorithms
PR libstdc++/71545
* include/bits/stl_algobase.h (lower_bound, lexicographical_compare):
Remove irreflexive checks.
* include/bits/stl_algo.h (lower_bound, upper_bound, equal_range,
binary_search): Likewise.
* testsuite/25_algorithms/equal_range/partitioned.cc: New test.
* testsuite/25_algorithms/lexicographical_compare/71545.cc: New test.
* testsuite/25_algorithms/lower_bound/partitioned.cc: New test.
* testsuite/25_algorithms/upper_bound/partitioned.cc: New test.
* testsuite/util/testsuite_iterators.h (__gnu_test::test_container):
Add constructor from array.
From-SVN: r237560
Diffstat (limited to 'gcc/tree-object-size.c')
0 files changed, 0 insertions, 0 deletions