From: vries Date: Mon, 22 Jun 2015 16:26:16 +0000 (+0000) Subject: Add missing update_stmt in transform_to_exit_first_loop_alt X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f2289e8bd05a4e886a328197652e9c171e42899;p=thirdparty%2Fgcc.git Add missing update_stmt in transform_to_exit_first_loop_alt 2015-06-22 Tom de Vries * tree-parloops.c (transform_to_exit_first_loop_alt): Add update_stmt for cond_stmt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224746 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4b35cb2c3e9d..8f20c77dd4ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-06-22 Tom de Vries + + * tree-parloops.c (transform_to_exit_first_loop_alt): Add update_stmt + for cond_stmt. + 2015-06-22 Tom de Vries * builtins.def (DEF_GOMP_BUILTIN): Test diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index 48c143d69111..e582fe759baa 100644 --- a/gcc/tree-parloops.c +++ b/gcc/tree-parloops.c @@ -1675,6 +1675,7 @@ transform_to_exit_first_loop_alt (struct loop *loop, /* Set the new loop bound. */ gimple_cond_set_rhs (cond_stmt, bound); + update_stmt (cond_stmt); /* Repair the ssa. */ vec *v = redirect_edge_var_map_vector (post_inc_edge);