[Bug libstdc++/94244] std::sort corrupts memory

2020-03-21 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94244 --- Comment #2 from Jonathan Wakely --- In other words, you have failed to meet the requirement that the comparison is a strict weak ordering. https://en.wikipedia.org/wiki/Weak_ordering#Strict_weak_orderings

[Bug libstdc++/94244] std::sort corrupts memory

2020-03-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94244 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE