[Bug rtl-optimization/84345] [8/9 Regression] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 1)
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 10 17:19:00 GMT 2018
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.
More information about the Gcc-bugs
mailing list