http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35629
--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-03 19:17:13 UTC --- I have a couple of improvements for find_subloop_latch_edge_by_ivs which fixes this testcase (though the dump output is slightly different but the number of loops is correct and the subloops are done correctly).