summaryrefslogtreecommitdiff
path: root/gcc/tree-vect-stmts.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-19 16:56:40 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2013-09-19 16:56:40 +0000
commit8e1a382df7b116de8101447c213d6d6100f1fcf3 (patch)
tree267441f73e7101d63b1fd36414f863cd18e5d2e9 /gcc/tree-vect-stmts.c
parentd9290edd50175e4aa43d264293686dc044f20798 (diff)
downloadgcc-8e1a382df7b116de8101447c213d6d6100f1fcf3.tar.gz
PR tree-optimization/58472
* tree-vect-stmts.c (vectorizable_store, vectorizable_load): For simd_lane_access set inv_p = false. * omp-low.c (lower_rec_input_clauses): Set TREE_NO_WARNING on the simduid magic VAR_DECL. * c-c++-common/gomp/pr58472.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202748 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-stmts.c')
-rw-r--r--gcc/tree-vect-stmts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c
index 135eb300ef1..fcea4d0654b 100644
--- a/gcc/tree-vect-stmts.c
+++ b/gcc/tree-vect-stmts.c
@@ -4182,6 +4182,7 @@ vectorizable_store (gimple stmt, gimple_stmt_iterator *gsi, gimple *vec_stmt,
dataref_ptr = unshare_expr (DR_BASE_ADDRESS (first_dr));
dataref_offset = build_int_cst (reference_alias_ptr_type
(DR_REF (first_dr)), 0);
+ inv_p = false;
}
else
dataref_ptr
@@ -5077,6 +5078,7 @@ vectorizable_load (gimple stmt, gimple_stmt_iterator *gsi, gimple *vec_stmt,
dataref_ptr = unshare_expr (DR_BASE_ADDRESS (first_dr));
dataref_offset = build_int_cst (reference_alias_ptr_type
(DR_REF (first_dr)), 0);
+ inv_p = false;
}
else
dataref_ptr