aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFrançois Dumont <fdumont@gcc.gnu.org>2016-06-16 20:34:08 +0000
committerFrançois Dumont <fdumont@gcc.gnu.org>2016-06-16 20:34:08 +0000
commitbd2ee798d5a5a39e19a3aa936e8fdf49c7e933c6 (patch)
tree5524490378923dae76e78665cbf1b9ed8ed18ce3 /gcc
parent1ac4d38e30651463081ab3606e9a60a909f4f37f (diff)
downloadgcc-bd2ee798d5a5a39e19a3aa936e8fdf49c7e933c6.zip
gcc-bd2ee798d5a5a39e19a3aa936e8fdf49c7e933c6.tar.gz
gcc-bd2ee798d5a5a39e19a3aa936e8fdf49c7e933c6.tar.bz2
2016-06-16 François Dumont <fdumont@gcc.gnu.org>
* include/debug/debug.h (__glibcxx_requires_non_empty_range, __glibcxx_requires_nonempty) (__glibcxx_requires_subscript): Move... * include/debug/assertions.h: ...here and add __builtin_expect. (_GLIBCXX_DEBUG_ONLY): Remove ; value. * include/bits/stl_deque.h (std::deque<>::operator[]): Add __glibcxx_requires_subscript check. (std::deque<>::front()): Add __glibcxx_requires_nonempty check. (std::deque<>::back()): Likewise. (std::deque<>::pop_front()): Likewise. (std::deque<>::pop_back()): Likewise. (std::deque<>::swap(deque&)): Add allocator check. * include/bits/stl_vector.h (std::vector<>::operator[]): Add __glibcxx_requires_subscript check. (std::vector<>::front()): Add __glibcxx_requires_nonempty check. (std::vector<>::back()): Likewise. (std::vector<>::pop_back()): Likewise. (std::vector<>::swap(vector&)): Add allocator check. From-SVN: r237541
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions