This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/36333] stable_sort calling merge; problems when _GLIBCXX_DEBUG is switched on
- From: "chris at bubblescope dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 May 2008 15:51:01 -0000
- Subject: [Bug libstdc++/36333] stable_sort calling merge; problems when _GLIBCXX_DEBUG is switched on
- References: <bug-36333-4938@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from chris at bubblescope dot net 2008-05-26 15:51 -------
Out of interest, how did you come across this comparison operator?
You comparison operator fails to be an ordering, in particular it is required
that:
comp(a,b) && comp(b,c) implies comp(a,c)
comp(0x8ac6a30, 0x8ac69e4) and comp(0x8ac69e4, 0x8ac6ac8) are both true, but
comp(0x8ac6a30, 0x8ac6ac8) is false.
--
chris at bubblescope dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chris at bubblescope dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36333