Commit 5a5fd951 by Tom de Vries Committed by Tom de Vries

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.

From-SVN: r224746
parent 2b9f69fd
2015-06-22 Tom de Vries <tom@codesourcery.com> 2015-06-22 Tom de Vries <tom@codesourcery.com>
* tree-parloops.c (transform_to_exit_first_loop_alt): Add update_stmt
for cond_stmt.
2015-06-22 Tom de Vries <tom@codesourcery.com>
* builtins.def (DEF_GOMP_BUILTIN): Test * builtins.def (DEF_GOMP_BUILTIN): Test
'flag_tree_parallelize_loops > 1' instead of 'flag_tree_parallelize_loops > 1' instead of
'flag_tree_parallelize_loops'. Test flag_cilkplus. 'flag_tree_parallelize_loops'. Test flag_cilkplus.
......
...@@ -1675,6 +1675,7 @@ transform_to_exit_first_loop_alt (struct loop *loop, ...@@ -1675,6 +1675,7 @@ transform_to_exit_first_loop_alt (struct loop *loop,
/* Set the new loop bound. */ /* Set the new loop bound. */
gimple_cond_set_rhs (cond_stmt, bound); gimple_cond_set_rhs (cond_stmt, bound);
update_stmt (cond_stmt);
/* Repair the ssa. */ /* Repair the ssa. */
vec<edge_var_map> *v = redirect_edge_var_map_vector (post_inc_edge); vec<edge_var_map> *v = redirect_edge_var_map_vector (post_inc_edge);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment