diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-03-01 17:40:22 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2024-03-07 20:55:25 +0000 |
commit | 709d8474bcc50737a74f5d6d4d43462f6f125b64 (patch) | |
tree | bb272bfb1aac2b0b7ac628cfa802a67d37ef4541 /gcc | |
parent | 24a2b5def06940f3f181418a439c408388f7eb56 (diff) | |
download | gcc-709d8474bcc50737a74f5d6d4d43462f6f125b64.zip gcc-709d8474bcc50737a74f5d6d4d43462f6f125b64.tar.gz gcc-709d8474bcc50737a74f5d6d4d43462f6f125b64.tar.bz2 |
libstdc++: Replace unnecessary uses of built-ins in testsuite
I don't see why we should rely on __builtin_memset etc. in tests. We can
just include <cstring> and use the public API.
libstdc++-v3/ChangeLog:
* testsuite/23_containers/deque/allocator/default_init.cc: Use
std::memset instead of __builtin_memset.
* testsuite/23_containers/forward_list/allocator/default_init.cc:
Likewise.
* testsuite/23_containers/list/allocator/default_init.cc:
Likewise.
* testsuite/23_containers/map/allocator/default_init.cc:
Likewise.
* testsuite/23_containers/set/allocator/default_init.cc:
Likewise.
* testsuite/23_containers/unordered_map/allocator/default_init.cc:
Likewise.
* testsuite/23_containers/unordered_set/allocator/default_init.cc:
Likewise.
* testsuite/23_containers/vector/allocator/default_init.cc:
Likewise.
* testsuite/23_containers/vector/bool/allocator/default_init.cc:
Likewise.
* testsuite/29_atomics/atomic/compare_exchange_padding.cc:
Likewise.
* testsuite/util/atomic/wait_notify_util.h: Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions