re PR tree-optimization/80170 (SLP vectorization creates aligned access)
authorRichard Biener <rguenther@suse.de>
Mon, 27 Mar 2017 08:07:49 +0000 (08:07 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 27 Mar 2017 08:07:49 +0000 (08:07 +0000)
commit79f512ffebee22885684ff63bc3d66e7e6db9b4b
treee2509265db26833fc9b5658703ccb50c1e0e2dc3
parent672d9f8eab3e81bd80098fc5b16eac116eec7658
re PR tree-optimization/80170 (SLP vectorization creates aligned access)

2017-03-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/80170
* tree-vect-data-refs.c (vect_compute_data_ref_alignment): Make
sure DR/SCEV didnt fold in constants we do not see when looking
at the reference base alignment.

* gcc.dg/pr80170.c: New testcase.

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