[Bug rtl-optimization/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 30 16:04:00 GMT 2016


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Broken by r235913, before that it was starting with that copy_rtx.  I think we
should just restore it back.
The  if (repl || reg2) before add_reg_note also doesn't make sense to me,
because if that is false, then if (!repl && !reg2) is true and we wouldn't be
using different path (and nothing changes repl or reg2).


More information about the Gcc-bugs mailing list