diff options
author | Tom de Vries <tom@codesourcery.com> | 2015-06-22 16:26:16 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2015-06-22 16:26:16 +0000 |
commit | 5a5fd9515438888931ed1c3b925e0f6bfc7627b5 (patch) | |
tree | e98d2d59f60651ebe5dcab59ea867ff52b7bd5a6 | |
parent | 2b9f69fd8aca416ed8d4eb7b8618c7d23a85eba8 (diff) | |
download | gcc-5a5fd9515438888931ed1c3b925e0f6bfc7627b5.zip gcc-5a5fd9515438888931ed1c3b925e0f6bfc7627b5.tar.gz gcc-5a5fd9515438888931ed1c3b925e0f6bfc7627b5.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/tree-parloops.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4b35cb2..8f20c77 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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 'flag_tree_parallelize_loops > 1' instead of 'flag_tree_parallelize_loops'. Test flag_cilkplus. diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c index 48c143d..e582fe7 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); |