https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113159
Xi Ruoyao <xry111 at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED CC| |xry111 at gcc dot gnu.org --- Comment #1 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- Glibc qsort had been slower than std::sort. And in upcoming Glibc-2.39 there will be a major reimplementation of qsort, now it's unclear if it will still keep the behavior you want. Anyway this shouldn't be something we should rely on. Thus I don't think this is valid.