diff options
author | François Dumont <fdumont@gcc.gnu.org> | 2014-11-05 19:16:13 +0000 |
---|---|---|
committer | François Dumont <fdumont@gcc.gnu.org> | 2014-11-05 19:16:13 +0000 |
commit | 6c52b7dfc45578bd8470a3b6297ef3b04fd35926 (patch) | |
tree | 0ef3321c8827e2e4e0539c8407d4e04776903665 /gcc | |
parent | e028b0bbca86c369c145a410cf06a65d729c91d6 (diff) | |
download | gcc-6c52b7dfc45578bd8470a3b6297ef3b04fd35926.zip gcc-6c52b7dfc45578bd8470a3b6297ef3b04fd35926.tar.gz gcc-6c52b7dfc45578bd8470a3b6297ef3b04fd35926.tar.bz2 |
re PR libstdc++/63698 (std::set leaks nodes on assignment)
2014-11-04 François Dumont <fdumont@gcc.gnu.org>
Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/63698
* include/bits/stl_tree.h (_Reuse_or_alloc_node): Simplify constructor.
Always move to the left node if there is one.
* testsuite/23_containers/set/allocator/move_assign.cc (test04): New.
Co-Authored-By: Jonathan Wakely <jwakely@redhat.com>
From-SVN: r217154
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions