This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gomp4, committed] Revert omp_data_i init handling in copy_prop
- From: Tom de Vries <Tom_deVries at mentor dot com>
- To: "gcc-patches at gnu dot org" <gcc-patches at gnu dot org>
- Cc: Jakub Jelinek <jakub at redhat dot com>
- Date: Thu, 5 Nov 2015 15:45:38 +0100
- Subject: [gomp4, committed] Revert omp_data_i init handling in copy_prop
- Authentication-results: sourceware.org; auth=none
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 <tom@codesourcery.com>
revert:
2015-04-21 Tom de Vries <tom@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