r196571 - in /branches/gcc-4_7-branch/libstdc++...
fdumont@gcc.gnu.org
fdumont@gcc.gnu.org
Sat Mar 9 10:09:00 GMT 2013
Author: fdumont
Date: Sat Mar 9 10:09:51 2013
New Revision: 196571
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196571
Log:
2013-03-09 François Dumont <fdumont@gcc.gnu.org>
* include/bits/vector.tcc (vector<>operator=(const vector<>&):
Reset pointers after deallocation when memory can be reused.
* testsuite/23_containers/vector/allocator/minimal.cc: Insert
elements to really challenge C++11 allocator integration.
* testsuite/23_containers/vector/allocator/copy.cc: Likewise.
* testsuite/23_containers/vector/allocator/copy_assign.cc:
Likewise.
* testsuite/23_containers/vector/allocator/move_assign.cc:
Likewise.
* testsuite/23_containers/vector/allocator/swap.cc: Likewise and
swap vector back before checks on memory/personality mapping are
performed.
Modified:
branches/gcc-4_7-branch/libstdc++-v3/ChangeLog
branches/gcc-4_7-branch/libstdc++-v3/include/bits/vector.tcc
branches/gcc-4_7-branch/libstdc++-v3/testsuite/23_containers/vector/allocator/copy.cc
branches/gcc-4_7-branch/libstdc++-v3/testsuite/23_containers/vector/allocator/copy_assign.cc
branches/gcc-4_7-branch/libstdc++-v3/testsuite/23_containers/vector/allocator/minimal.cc
branches/gcc-4_7-branch/libstdc++-v3/testsuite/23_containers/vector/allocator/move_assign.cc
branches/gcc-4_7-branch/libstdc++-v3/testsuite/23_containers/vector/allocator/swap.cc
More information about the Libstdc++-cvs
mailing list