https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94964
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Target Milestone|--- |8.5 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Mine. The loop does not have a preheader we can sink to so gsi_insert_seq_on_edge_immediate will split the edge and the following add_phi_arg breaks. Now, the loop entry edge is an EH edge in this case, will dig what the appropriate solution is.