diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-06-18 10:57:45 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-06-27 09:39:41 +0100 |
commit | 8fd84bc009b3073666a24047c78a04c19eeab752 (patch) | |
tree | 93511f5b18b90fdcd28127a35b80b14c7a54c330 /gcc/gimple-range-cache.h | |
parent | cfc9fa3bdddc1af59b7854937b99516067fd8c63 (diff) | |
download | gcc-8fd84bc009b3073666a24047c78a04c19eeab752.zip gcc-8fd84bc009b3073666a24047c78a04c19eeab752.tar.gz gcc-8fd84bc009b3073666a24047c78a04c19eeab752.tar.bz2 |
libstdc++: Add debug assertions to std::vector<bool> [PR103191]
This adds debug assertions for std::vector<bool> element access.
libstdc++-v3/ChangeLog:
PR libstdc++/103191
* include/bits/stl_bvector.h (vector<bool>::operator[])
(vector<bool>::front, vector<bool>::back): Add debug assertions.
* testsuite/23_containers/vector/bool/element_access/constexpr.cc:
Remove dg-error that no longer triggers.
Diffstat (limited to 'gcc/gimple-range-cache.h')
0 files changed, 0 insertions, 0 deletions