[Bug rtl-optimization/90275] [8/9 Regression] ICE: in insert_regs, at cse.c:1128 with -O2 -fno-dce -fno-tree-dce

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 13 09:11:15 GMT 2020


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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marxin at gcc dot gnu.org

--- Comment #13 from Martin Liška <marxin at gcc dot gnu.org> ---
commit r10-7149-g4aded535ea6ad7c362ab62d99af70e53c186d582
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Thu Mar 12 16:09:27 2020 -0600

    Remove no-op register to register copies in CSE just like we remove no-op
memory to memory copies.

            PR rtl-optimization/90275
            * cse.c (cse_insn): Delete no-op register moves too.

            PR rtl-optimization/90275
            * gcc.c-torture/compile/pr90275.c: New test.


More information about the Gcc-bugs mailing list