http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54824
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matz at gcc dot gnu.org --- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> 2012-10-24 12:56:35 UTC --- It is RTL expansion that ends up connecting BB9, a common exit block of the two unswitched loops randomly to BB10, the loop latch, forming a new loop. And it is find_many_sub_basic_blocks that does this. Eh ... bad luck.