[Bug libstdc++/36333] stable_sort calling merge; problems when _GLIBCXX_DEBUG is switched on

chris at bubblescope dot net gcc-bugzilla@gcc.gnu.org
Mon May 26 15:51:00 GMT 2008

------- 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

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


More information about the Gcc-bugs mailing list