This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/49559] stable_sort calls self-move-assignment operator
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Jun 2011 08:56:43 +0000
- Subject: [Bug libstdc++/49559] stable_sort calls self-move-assignment operator
- Auto-submitted: auto-generated
- References: <bug-49559-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49559
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-06-28 08:56:39 UTC ---
bah, that's testing the wrong thing
the test should be:
if (__result == __last)
return __first;