From: Richard Biener Date: Tue, 9 Jun 2015 08:09:00 +0000 (+0000) Subject: cfgloop.c (get_loop_body_in_bfs_order): Fix assert. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9c16ed274d6390a46a7d2e4466315d9c70f23fb;p=gcc.git cfgloop.c (get_loop_body_in_bfs_order): Fix assert. 2015-06-09 Richard Biener * cfgloop.c (get_loop_body_in_bfs_order): Fix assert. From-SVN: r224268 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6550f7c9bf3..4af34951803 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-06-09 Richard Biener + + * cfgloop.c (get_loop_body_in_bfs_order): Fix assert. + 2015-06-09 Richard Biener PR middle-end/66413 diff --git a/gcc/cfgloop.c b/gcc/cfgloop.c index 1a119effada..20b81b3841a 100644 --- a/gcc/cfgloop.c +++ b/gcc/cfgloop.c @@ -954,7 +954,7 @@ get_loop_body_in_bfs_order (const struct loop *loop) } } - gcc_assert (i >= vc); + gcc_assert (i > vc); bb = blocks[vc++]; }