This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/61023] [4.9/4.10 Regression] set/map move assignment doesn't move (or copy) the comparator


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61023

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed May  7 14:12:37 2014
New Revision: 210159

URL: http://gcc.gnu.org/viewcvs?rev=210159&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.

Added:
    trunk/libstdc++-v3/testsuite/23_containers/set/cons/61023.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_tree.h


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]