https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85275
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-04-09 Version|unknown |8.0 Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- CHs logic for which parts to copy isn't very good, esp. in the case of multi-exit loops where IMHO it simply shouldn't do anything without more heuristics. There's a related bug I came along recently where it does nothign despite the loop not being a do-while loop, PR85116. So let me take this one as well for next stage1.