[Bug libstdc++/49559] [C++0x] stable_sort calls self-move-assignment operator

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 28 14:12:00 GMT 2011


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo.carlini at oracle dot
                   |                            |com

--- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-28 14:11:32 UTC ---
Given the specific instantiations we have of __move_merge, something like the
new draft I'm attaching seems correct and avoids the regressions for
inplace_merge. But actually it seems __first2 always == __result after the
first move, thus I think we really want to rework and possibly simplify these
__move_merge helpers.



More information about the Gcc-bugs mailing list