2014-11-04 François Dumont <fdumont@gcc.gnu.org>
commita7c879ab875266685e0e5e319b0bfbdcfd641dcb
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Nov 2014 19:16:13 +0000 (5 19:16 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Nov 2014 19:16:13 +0000 (5 19:16 +0000)
tree0ef3321c8827e2e4e0539c8407d4e04776903665
parent35f63fec1fec65171e934e1d0a1e0ab3031824b0
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217154 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_tree.h
libstdc++-v3/testsuite/23_containers/set/allocator/move_assign.cc