2014-06-26 François Dumont <fdumont@gcc.gnu.org>
commit38176e2caf17cc187b79530da7731d971af64c90
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jun 2014 18:42:41 +0000 (26 18:42 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 26 Jun 2014 18:42:41 +0000 (26 18:42 +0000)
tree8168a48a528e2e275de5f5d7a16a2ea0c08f95fd
parent9eb33c8f31de3eafad39c9917cf177320e958807
2014-06-26  François Dumont  <fdumont@gcc.gnu.org>

* testsuite/util/testsuite_allocator.h
(tracker_allocator_counter::allocate): Remove new invocation, only
collect information.
(tracker_allocator_counter::deallocate): Remove delete invocation, only
collect information.
(check_inconsistent_alloc_value_type): New.
(tracker_allocator): Transform as a facade for any allocator type.
(uneq_allocator): Likewise.
(propagating_allocator): Likewise.
* testsuite/23_containers/forward_list/debug/move_assign_neg.cc: Use an
explicitly non propagating allocator.
* testsuite/23_containers/map/debug/move_assign_neg.cc: Likewise.
* testsuite/23_containers/multimap/debug/move_assign_neg.cc: likewise.
* testsuite/23_containers/multiset/debug/move_assign_neg.cc: Likewise.
* testsuite/23_containers/set/debug/move_assign_neg.cc: Likewise.
* testsuite/23_containers/unordered_map/debug/move_assign_neg.cc:
Likewise.
* testsuite/23_containers/unordered_multimap/debug/move_assign_neg.cc:
Likewise.
* testsuite/23_containers/unordered_multiset/debug/move_assign_neg.cc:
Likewise.
* testsuite/23_containers/unordered_set/debug/move_assign_neg.cc:
Likewise.
* testsuite/23_containers/vector/debug/move_assign_neg.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212046 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/23_containers/forward_list/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/map/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/multimap/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/multiset/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/set/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_map/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/unordered_set/debug/move_assign_neg.cc
libstdc++-v3/testsuite/23_containers/vector/debug/move_assign_neg.cc
libstdc++-v3/testsuite/util/testsuite_allocator.h