Commit 995a1b4a by Jakub Jelinek Committed by Jakub Jelinek

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
parent ce6923c5
2013-09-18 Jakub Jelinek <jakub@redhat.com>
* 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.
2013-09-18 Marek Polacek <polacek@redhat.com> 2013-09-18 Marek Polacek <polacek@redhat.com>
PR sanitizer/58411 PR sanitizer/58411
......
...@@ -853,6 +853,7 @@ copy_var_decl (tree var, tree name, tree type) ...@@ -853,6 +853,7 @@ copy_var_decl (tree var, tree name, tree type)
TREE_NO_WARNING (copy) = TREE_NO_WARNING (var); TREE_NO_WARNING (copy) = TREE_NO_WARNING (var);
TREE_USED (copy) = 1; TREE_USED (copy) = 1;
DECL_SEEN_IN_BIND_EXPR_P (copy) = 1; DECL_SEEN_IN_BIND_EXPR_P (copy) = 1;
DECL_ATTRIBUTES (copy) = DECL_ATTRIBUTES (var);
return copy; return copy;
} }
......
...@@ -3067,6 +3067,8 @@ again: ...@@ -3067,6 +3067,8 @@ again:
{ {
DR_OFFSET (newdr) = ssize_int (0); DR_OFFSET (newdr) = ssize_int (0);
DR_STEP (newdr) = step; DR_STEP (newdr) = step;
DR_ALIGNED_TO (newdr)
= size_int (BIGGEST_ALIGNMENT);
dr = newdr; dr = newdr;
simd_lane_access = true; simd_lane_access = true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment