Noticed when it crashed rather than asserted with broken loop structure. Bootstrapped / tested on x86_64-unknown-linux-gnu, applied.
Richard. 2015-06-09 Richard Biener <rguent...@suse.de> * cfgloop.c (get_loop_body_in_bfs_order): Fix assert. Index: gcc/cfgloop.c =================================================================== --- gcc/cfgloop.c (revision 224266) +++ gcc/cfgloop.c (working copy) @@ -954,7 +954,7 @@ get_loop_body_in_bfs_order (const struct } } - gcc_assert (i >= vc); + gcc_assert (i > vc); bb = blocks[vc++]; }