https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81766
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Richard Biener from comment #3) > find_bb_boundaries doesn't seem to expect existing NOTE_INSN_BASIC_BLOCK, so > calling it on existing blocks exposes un-optimalities in case labels are > valid after NOTE_INSN_BASIC_BLOCK. Another possibility is to use NOTE_INSN_DELETED_LABEL instead of CODE_LABEL, after all, we aren't jumping to it. Let me try it now.