aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
authorNathan Myers <ncm@cantrip.org>2026-03-04 13:08:41 -0500
committerNathan Myers <ncm@cantrip.org>2026-03-05 13:23:36 -0500
commit1b404c574450a48fee5f28f2acffafee7419fe38 (patch)
tree2fd40964af81a3c8accb775d6cd25d99f9dbd389 /gcc/cp
parentdae387d2c81eace093f3c9a2e6e3f027a615e23f (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
libstdc++: bitset subscript check when _GLIBCXX_ASSERTIONS [PR118341]HEADtrunkmaster
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.
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions