diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-09 08:09:00 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-06-09 08:09:00 +0000 |
commit | 409ccb7cd0b3a02d790f8c891162286983edbae0 (patch) | |
tree | 8c460dd942ec70dda6b0534a78a6398e66e906f3 | |
parent | e1fb960ac089fec3fb94da632d1e2791b5fa45bf (diff) | |
download | gcc-409ccb7cd0b3a02d790f8c891162286983edbae0.tar.gz |
2015-06-09 Richard Biener <rguenther@suse.de>
* cfgloop.c (get_loop_body_in_bfs_order): Fix assert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224268 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cfgloop.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6550f7c9bf3..4af34951803 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2015-06-09 Richard Biener <rguenther@suse.de> + * cfgloop.c (get_loop_body_in_bfs_order): Fix assert. + +2015-06-09 Richard Biener <rguenther@suse.de> + PR middle-end/66413 * tree-inline.c (insert_init_debug_bind): Unshare value. 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++]; } |