summaryrefslogtreecommitdiff
path: root/gcc/tree-vect-data-refs.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2013-09-18 12:14:31 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2013-09-18 12:14:31 +0200
commit995a1b4a75aca90837c9a62131eda7b6be9b8c41 (patch)
treeb4060b5b96f822c624b6ca425b9a12e43cee1bea /gcc/tree-vect-data-refs.c
parentce6923c53da68bc3e0eabb1d071217402a104148 (diff)
downloadgcc-995a1b4a75aca90837c9a62131eda7b6be9b8c41.tar.gz
omp-low.c (copy_var_decl): Copy DECL_ATTRIBUTES.
* omp-low.c (copy_var_decl): Copy DECL_ATTRIBUTES. * tree-vect-data-refs.c (vect_analyze_data_refs): For simd_lane_access drs, update also DR_ALIGNED_TO. From-SVN: r202683
Diffstat (limited to 'gcc/tree-vect-data-refs.c')
-rw-r--r--gcc/tree-vect-data-refs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-vect-data-refs.c b/gcc/tree-vect-data-refs.c
index 63dd36ad7ea..98055ae01f8 100644
--- a/gcc/tree-vect-data-refs.c
+++ b/gcc/tree-vect-data-refs.c
@@ -3067,6 +3067,8 @@ again:
{
DR_OFFSET (newdr) = ssize_int (0);
DR_STEP (newdr) = step;
+ DR_ALIGNED_TO (newdr)
+ = size_int (BIGGEST_ALIGNMENT);
dr = newdr;
simd_lane_access = true;
}