summaryrefslogtreecommitdiff
path: root/gcc/tree-parloops.c
diff options
context:
space:
mode:
authorTom de Vries <tom@codesourcery.com>2015-06-22 16:26:16 +0000
committerTom de Vries <vries@gcc.gnu.org>2015-06-22 16:26:16 +0000
commit5a5fd9515438888931ed1c3b925e0f6bfc7627b5 (patch)
treee98d2d59f60651ebe5dcab59ea867ff52b7bd5a6 /gcc/tree-parloops.c
parent2b9f69fd8aca416ed8d4eb7b8618c7d23a85eba8 (diff)
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
Diffstat (limited to 'gcc/tree-parloops.c')
-rw-r--r--gcc/tree-parloops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c
index 48c143d6911..e582fe759ba 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<edge_var_map> *v = redirect_edge_var_map_vector (post_inc_edge);