Add missing update_stmt in transform_to_exit_first_loop_alt
2015-06-22 Tom de Vries <tom@codesourcery.com>
* tree-parloops.c (transform_to_exit_first_loop_alt): Add update_stmt
for cond_stmt.
---
gcc/tree-parloops.c | 1 +
1 file changed, 1 insertion(+)
@@ -1679,6 +1679,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<edge_var_map> *v = redirect_edge_var_map_vector (post_inc_edge);
--
1.9.1