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

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

https://gcc.gnu.org/g:1b7c97f25b271f826958873bda4fafc4cfc5b60d

commit r10-9644-g1b7c97f25b271f826958873bda4fafc4cfc5b60d
Author: Vladimir N. Makarov <vmaka...@redhat.com>
Date:   Thu Feb 18 17:49:26 2021 -0500

    [PR96264] LRA: Check output insn hard regs when updating available
rematerialization after the insn

     Insn for rematerialization can contain a clobbered hard register.  We
    can not move such insn through another insn setting up the same hard
    register.  The patch adds such check.

    gcc/ChangeLog:

            PR rtl-optimization/96264
            * lra-remat.c (reg_overlap_for_remat_p): Check also output insn
            hard regs.

    gcc/testsuite/ChangeLog:

            PR rtl-optimization/96264
            * gcc.target/powerpc/pr96264.c: New.

Reply via email to