From: Tom de 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-Tag: basepoints/gcc-7~6192 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5a5fd9515438888931ed1c3b925e0f6bfc7627b5;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. From-SVN: r224746 --- 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);