aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-07-05 18:58:00 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-07-07 12:26:08 +0100
commit762ee55d369a3257997092ef7853cf9dd4d5cc4f (patch)
treece2b5014ad91c7aa3b4834a9ff7d9a8a9a54cc17 /gcc
parente78c5d0ae48b7bf539d94b77382ecc1aac260f0c (diff)
downloadgcc-762ee55d369a3257997092ef7853cf9dd4d5cc4f.zip
gcc-762ee55d369a3257997092ef7853cf9dd4d5cc4f.tar.gz
gcc-762ee55d369a3257997092ef7853cf9dd4d5cc4f.tar.bz2
libstdc++: Fix memchr path in std::ranges::find for non-common range [PR115799]
The memchr optimization introduced in r15-1857 needs to advance the start iterator instead of returning the sentinel. libstdc++-v3/ChangeLog: PR libstdc++/115799 * include/bits/ranges_util.h (__find_fn): Return iterator instead of sentinel. * testsuite/25_algorithms/find/constrained.cc: Check non-common contiguous sized range of char.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions