https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57878
Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |amonakov at gcc dot gnu.org Resolution|--- |FIXED --- Comment #5 from Alexander Monakov <amonakov at gcc dot gnu.org> --- This bug was originally fixed in July 2013 by r201036: https://gcc.gnu.org/ml/gcc-patches/2013-07/msg00732.html , but that patch changed the comparator in a way that made it non-transitive (PR 68988). In 2014, fixes for PR 60650 introduced a more robust fix for the original spill failure. This patch reverts the non_reload_pseudos check from the comparator to fix PR 68988 and also moves the fragmentation avoidance check earlier as suggested in comment #3 since it was found that it leads to smaller cc1 size without regressions on SPEC CPU 2000: https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01054.html