[Bug target/103074] [11/12 Regression] ICE in lra_assign, at lra-assigns.c:1649 since r11-5066-gbe39636d9f68c437

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 10 21:17:07 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103074

--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Vladimir Makarov <vmakarov@gcc.gnu.org>:

https://gcc.gnu.org/g:d8e5fff6b74b82c2ac3254be9a1f0fb6b30dbdbf

commit r12-7604-gd8e5fff6b74b82c2ac3254be9a1f0fb6b30dbdbf
Author: Vladimir N. Makarov <vmakarov@redhat.com>
Date:   Thu Mar 10 16:16:00 2022 -0500

    [PR103074] LRA: Check new conflicts when splitting hard reg live range.

    Splitting hard register live range can create (artificial)
    conflict of the hard register with another pseudo because of simplified
    conflict calculation in LRA.  We should check such conflict on the next
    assignment sub-pass and spill and reassign the pseudo if necessary.
    The patch implements this.

    gcc/ChangeLog:

            PR target/103074
            * lra-constraints.cc (split_reg): Set up
            check_and_force_assignment_correctness_p when splitting hard
            register live range.

    gcc/testsuite/ChangeLog:

            PR target/103074
            * gcc.target/i386/pr103074.c: New.


More information about the Gcc-bugs mailing list