[Bug rtl-optimization/79150] ICE: in commit_one_edge_insertion, at cfgrtl.c:2077 for the gcc.dg/pr77834.c test

tomtab at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 28 12:02:00 GMT 2017


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

--- Comment #7 from tomtab at gcc dot gnu.org ---
Created attachment 40843
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40843&action=edit
Generate a nop at the end of a looping memcpy

This patch changes mips_block_move_loop to generate a nop insn at the end of
the loop whenever the loop ends in a jump insn.

The nop disappears during the cse1 pass, where it is removed through DCE.


More information about the Gcc-bugs mailing list