This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/57878] Incorrect code: live register clobbered in split2


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]