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

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

https://gcc.gnu.org/g:9046e0d46fc285e5c59c87182d48c8de0f7f929c

commit r12-4256-g9046e0d46fc285e5c59c87182d48c8de0f7f929c
Author: Vladimir N. Makarov <vmaka...@redhat.com>
Date:   Fri Oct 8 10:16:09 2021 -0400

    [PR102627] Use at least natural mode during splitting hard reg live range

    In the PR test case SImode was used to split live range of cx on x86-64
    because it was the biggest mode for this hard reg in the function.  But
    all 64-bits of cx contain structure members.  We need always to use at
least
    natural mode of hard reg in splitting to fix this problem.

    gcc/ChangeLog:

            PR rtl-optimization/102627
            * lra-constraints.c (split_reg): Use at least natural mode of hard
reg.

    gcc/testsuite/ChangeLog:

            PR rtl-optimization/102627
            * gcc.target/i386/pr102627.c: New test.

Reply via email to