https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113415
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 57364 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57364&action=edit gcc14-pr113415.patch If all we care here is not to ICE on it, then this patch should suffice. But, if there is some asm goto where such loops could be emitted and needed on all the asm goto edges, then more work will be needed, duplicate_insn_chain doesn't duplicate CODE_LABELs and remap references to them in the copied sequences.