Nathan Myers
1b404c5744
libstdc++: bitset subscript check when _GLIBCXX_ASSERTIONS [PR118341]
Changes in v3:
- Delete redundant "dg" annotations.
Changes in v2:
- Rejigger testing.
- Add tests for regular bitset<>::op[].
Perform __glibcxx_assert bounds check on indices to bitset<>::op[]
for const and non-const overloads.
Also, add previously neglected regular tests for bitset<>::op[].
libstdc++-v3/ChangeLog
PR libstdc++/118341
* include/std/bitset (operator[] (2x)): Add assertion.
* testsuite/20_util/bitset/access/118341_neg1.cc: New test.
* testsuite/20_util/bitset/access/118341_neg2.cc: Same.
* testsuite/20_util/bitset/access/118341_smoke.cc: Same.
* testsuite/20_util/bitset/access/subscript.cc: Same.
* testsuite/20_util/bitset/access/subscript_const_neg.cc: Same.
2026-03-05 13:23:36 -05:00
..
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-03 16:11:58 +00:00
2026-01-07 15:20:45 +00:00
2026-01-02 09:56:11 +01:00
2026-03-05 13:23:36 -05:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-19 12:09:11 +01:00
2026-01-02 09:56:11 +01:00
2026-02-05 16:48:20 +00:00
2026-01-02 09:56:11 +01:00
2025-08-28 17:47:00 +01:00
2026-01-19 06:36:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-03 16:13:23 +00:00
2026-02-16 12:34:18 +01:00
2026-01-10 15:08:53 +08:00
2025-12-11 19:54:44 +01:00
2026-03-05 11:55:59 +01:00
2026-01-19 06:36:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-19 06:36:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-19 06:36:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-04 03:59:15 -05:00
2026-02-23 13:01:52 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-02-03 14:22:46 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2025-10-10 09:00:22 +02:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-02-18 10:13:51 -05:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-04 03:59:15 -05:00
2026-01-02 09:56:11 +01:00
2026-02-05 16:48:20 +00:00
2026-01-02 09:56:11 +01:00
2025-09-27 21:18:42 +01:00
2026-01-07 15:21:52 +00:00
2026-01-02 09:56:11 +01:00
2025-10-16 14:59:42 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-03-02 11:21:51 +01:00
2026-01-19 06:36:11 +01:00
2026-03-04 11:59:39 +00:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-02-13 09:06:31 +00:00
2026-02-19 17:10:19 +01:00
2026-01-02 09:56:11 +01:00
2026-03-04 03:59:15 -05:00
2026-03-04 03:59:15 -05:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-02 09:56:11 +01:00
2026-01-19 06:36:11 +01:00
2026-01-02 09:56:11 +01:00