re PR tree-optimization/65310 (vectorizer uses wrong alignment)
authorRichard Biener <rguenther@suse.de>
Thu, 5 Mar 2015 09:14:01 +0000 (09:14 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 5 Mar 2015 09:14:01 +0000 (09:14 +0000)
commitb162e1e749b8c7cb567e5f38bbc461d77c9f8439
treee5dfb81be4531429f97f92096b41772275a9c87e
parent637e43b8e1b2d18f51f6d18714cb794717ced3c4
re PR tree-optimization/65310 (vectorizer uses wrong alignment)

2015-03-05  Richard Biener  <rguenther@suse.de>

PR tree-optimization/65310
* tree-vect-data-refs.c (vect_compute_data_ref_alignment):
Properly preserve alignment of the base of the access.

* gcc.dg/vect/pr65310.c: New testcase.

From-SVN: r221206
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr65310.c [new file with mode: 0644]
gcc/tree-vect-data-refs.c