https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84345
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- I thought the main argument for the qsort checking was to avoid different code generation between different hosts (e.g. with cross-compilers etc.). Some of the comparator issues were just easy bugs in the logic, but others are not really easily convertible to what the checking requires, it is just a heuristic to get reasonable code generation (especially some of the RTL ones). The argument about different code generation is gone with gcc_qsort.