aboutsummaryrefslogtreecommitdiff
path: root/include/gdb/gdb-index.h
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-07-04 12:01:29 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-07-27 12:47:39 +0100
commite69456ff9a54ba3e9c93842b05757b7d8fff6d9d (patch)
tree49a4577dab61b248055497b2542001d5e1e05865 /include/gdb/gdb-index.h
parent6d79d53eed82b1df378998bd4ced88644dcde200 (diff)
downloadgcc-e69456ff9a54ba3e9c93842b05757b7d8fff6d9d.zip
gcc-e69456ff9a54ba3e9c93842b05757b7d8fff6d9d.tar.gz
gcc-e69456ff9a54ba3e9c93842b05757b7d8fff6d9d.tar.bz2
libstdc++: Remove __find_if unrolling for random access iterators
As the numbers in PR libstdc++/88545 show, the manual loop unrolling in std::__find_if doesn't actually help these days, and it prevents the compiler from auto-vectorizing. Remove the dispatching on iterator_category and just use the simple loop for all iterator categories. libstdc++-v3/ChangeLog: * include/bits/stl_algobase.h (__find_if): Remove overloads for dispatching on iterator_category. Do not unroll loop manually. * include/bits/stl_algo.h (__find_if_not): Remove iterator_category argument from __find_if call.
Diffstat (limited to 'include/gdb/gdb-index.h')
0 files changed, 0 insertions, 0 deletions