[Bug rtl-optimization/118067] [15 Regression] ICE: in lra_split_hard_reg_for, at lra-assigns.cc:1860 (unable to find a register to spill) {*lshrhi3_1} with -O -fno-split-wide-types -mavx512f

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 22 14:19:21 GMT 2025


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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #20 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Most of them were have been fixed by:

https://gcc.gnu.org/g:07f62ed9a7b09951f83855e19d41641b098190b1

commit r15-7083-g07f62ed9a7b09951f83855e19d41641b098190b1
Author: Vladimir N. Makarov <vmakarov@redhat.com>
Date:   Mon Jan 20 17:08:50 2025 -0500

    [PR118560][LRA]: Fix typo in checking secondary memory mode for the reg
class

      The patch for PR118067 wrongly checked hard reg set subset.  It worked
for
    the equal sets as in PR118067.  But it was wrong in other cases as in
    PR118560 (inordinate compile time).

    gcc/ChangeLog:

            PR target/118560
            * lra-constraints.cc (invalid_mode_reg_p): Exchange args in
            hard_reg_set_subset_p call.


More information about the Gcc-bugs mailing list