diff options
author | François Dumont <fdumont@gcc.gnu.org> | 2013-03-08 20:08:20 +0000 |
---|---|---|
committer | François Dumont <fdumont@gcc.gnu.org> | 2013-03-08 20:08:20 +0000 |
commit | 68d047cb48654a89da139e03c6c5e424734a194e (patch) | |
tree | ee1852eb35cadccb3742d5a9dfee615de4b02cba /gcc/function.c | |
parent | 6384c29bfc15a772d876f5e26b68808560cf0ac3 (diff) | |
download | gcc-68d047cb48654a89da139e03c6c5e424734a194e.zip gcc-68d047cb48654a89da139e03c6c5e424734a194e.tar.gz gcc-68d047cb48654a89da139e03c6c5e424734a194e.tar.bz2 |
vector.tcc (vector<>operator=(const vector<>&): Reset pointers after deallocation when memory can be reused.
2013-03-08 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.
* testsuite/23_containers/forward_list/allocator/minimal.cc:
Insert element to really challenge C++11 allocator integration.
* testsuite/23_containers/forward_list/allocator/copy.cc:
Likewise.
* testsuite/23_containers/forward_list/allocator/copy_assign.cc:
Likewise.
* testsuite/23_containers/forward_list/allocator/move_assign.cc:
Likewise.
* testsuite/23_containers/forward_list/allocator/swap.cc: Likewise
and swap forward_list back before checks on memory/personality
mapping are performed.
From-SVN: r196557
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions