This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/57878] Incorrect code: live register clobbered in split2
- From: "amonakov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Sep 2017 10:23:48 +0000
- Subject: [Bug rtl-optimization/57878] Incorrect code: live register clobbered in split2
- Auto-submitted: auto-generated
- References: <bug-57878-4@http.gcc.gnu.org/bugzilla/>
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