https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71964

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Sat Aug  6 12:20:41 2016
New Revision: 239201

URL: https://gcc.gnu.org/viewcvs?rev=239201&root=gcc&view=rev
Log:
Move allocator in RB tree move constructors

Backport from mainline
2016-07-22  Jonathan Wakely  <jwak...@redhat.com>

        PR libstdc++/71964
        * include/bits/stl_tree.h (_Rb_tree(_Rb_tree&&)): Move allocator.
        * testsuite/23_containers/set/allocator/71964.cc: New test.

Added:
   
branches/gcc-6-branch/libstdc++-v3/testsuite/23_containers/set/allocator/71964.cc
Modified:
    branches/gcc-6-branch/libstdc++-v3/ChangeLog
    branches/gcc-6-branch/libstdc++-v3/include/bits/stl_tree.h

Reply via email to