http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61023
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Wed May 7 14:12:06 2014 New Revision: 210158 URL: http://gcc.gnu.org/viewcvs?rev=210158&root=gcc&view=rev Log: PR libstdc++/61023 * include/bits/stl_tree.h (_Rb_tree::_M_move_assign): Copy the comparison function. * testsuite/23_containers/set/cons/61023.cc: New. PR libstdc++/61023 * include/bits/stl_tree.h (_Rb_tree::_M_move_assign): Copy the comparison function. * testsuite/23_containers/set/cons/61023.cc: New. Added: branches/gcc-4_9-branch/libstdc++-v3/testsuite/23_containers/set/cons/61023.cc Modified: branches/gcc-4_9-branch/libstdc++-v3/ChangeLog branches/gcc-4_9-branch/libstdc++-v3/include/bits/stl_tree.h