https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113094
Richard Sandiford <rsandifo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot gnu.org Status|NEW |ASSIGNED --- Comment #4 from Richard Sandiford <rsandifo at gcc dot gnu.org> --- Testing a patch. We're doing spurious work on insns that are slated for deletion, but we can't simply delete them first because that would disrupt the main iteration. Easiest fix seems to be to replace them with NOTE_INSN_DELETED first, then iterate, then delete.