Hi, this patch reverts omp_data_i init handling in copy_prop.
Committed to gomp-4_0-branch. Thanks, - Tom
Revert omp_data_i init handling in copy_prop 2015-11-05 Tom de Vries <t...@codesourcery.com> revert: 2015-04-21 Tom de Vries <t...@codesourcery.com> * tree-ssa-copy.c (stmt_may_generate_copy): Handle .omp_data_i init conservatively. --- gcc/tree-ssa-copy.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gcc/tree-ssa-copy.c b/gcc/tree-ssa-copy.c index 4a3e4bd..4992bda 100644 --- a/gcc/tree-ssa-copy.c +++ b/gcc/tree-ssa-copy.c @@ -40,7 +40,6 @@ along with GCC; see the file COPYING3. If not see #include "tree-scalar-evolution.h" #include "tree-ssa-dom.h" #include "tree-ssa-loop-niter.h" -#include "omp-low.h" /* This file implements the copy propagation pass and provides a @@ -96,9 +95,6 @@ stmt_may_generate_copy (gimple *stmt) if (gimple_has_volatile_ops (stmt)) return false; - if (gimple_stmt_omp_data_i_init_p (stmt)) - return false; - /* Statements with loads and/or stores will never generate a useful copy. */ if (gimple_vuse (stmt)) return false; -- 1.9.1