-
- Downloads
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.
Showing
- libstdc++-v3/testsuite/23_containers/deque/allocator/default_init.cc 3 additions, 2 deletions...3/testsuite/23_containers/deque/allocator/default_init.cc
- libstdc++-v3/testsuite/23_containers/forward_list/allocator/default_init.cc 3 additions, 2 deletions...uite/23_containers/forward_list/allocator/default_init.cc
- libstdc++-v3/testsuite/23_containers/list/allocator/default_init.cc 3 additions, 2 deletions...v3/testsuite/23_containers/list/allocator/default_init.cc
- libstdc++-v3/testsuite/23_containers/map/allocator/default_init.cc 3 additions, 2 deletions...-v3/testsuite/23_containers/map/allocator/default_init.cc
- libstdc++-v3/testsuite/23_containers/set/allocator/default_init.cc 3 additions, 2 deletions...-v3/testsuite/23_containers/set/allocator/default_init.cc
- libstdc++-v3/testsuite/23_containers/unordered_map/allocator/default_init.cc 3 additions, 2 deletions...ite/23_containers/unordered_map/allocator/default_init.cc
- libstdc++-v3/testsuite/23_containers/unordered_set/allocator/default_init.cc 3 additions, 2 deletions...ite/23_containers/unordered_set/allocator/default_init.cc
- libstdc++-v3/testsuite/23_containers/vector/allocator/default_init.cc 3 additions, 2 deletions.../testsuite/23_containers/vector/allocator/default_init.cc
- libstdc++-v3/testsuite/23_containers/vector/bool/allocator/default_init.cc 3 additions, 2 deletions...suite/23_containers/vector/bool/allocator/default_init.cc
- libstdc++-v3/testsuite/29_atomics/atomic/compare_exchange_padding.cc 3 additions, 2 deletions...3/testsuite/29_atomics/atomic/compare_exchange_padding.cc
- libstdc++-v3/testsuite/util/atomic/wait_notify_util.h 5 additions, 6 deletionslibstdc++-v3/testsuite/util/atomic/wait_notify_util.h
Loading
Please register or sign in to comment