https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114792
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #58024|0 |1 is obsolete| | --- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Created attachment 58033 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58033&action=edit patch I'm now testing this which is more minimal surgery at least making sure we process loops in similar order as unrolling does. I'm not 100% convinced this is enough but it restores part of the consistency (unroll also doesn't unloop an outer loop before cleaning up the CFG and rebuilding loops after unlooping an inner loop).