http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49559
--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-06-28 13:38:06 UTC --- For inplace_merge the problem happens with the _GLIBCXX_MOVE3 calls in __move_merge, at some point __first == __result != __last.