re PR tree-optimization/78189 (movaps generated for unaligned store in aligned struct...
authorRichard Biener <rguenther@suse.de>
Mon, 7 Nov 2016 08:05:08 +0000 (08:05 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 7 Nov 2016 08:05:08 +0000 (08:05 +0000)
commita0d3edf8a54e30d48f61eb59a0be33c7ed2b971f
treeef5f5054bbe0f2fc255f9f42ab020ae3580c96fa
parente34b855ed55fc5bb99aeaf013c64db98eb333ca0
re PR tree-optimization/78189 (movaps generated for unaligned store in aligned struct, when struct is referenced via unaligned member.)

2016-11-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/78189
* tree-vect-data-refs.c (vect_compute_data_ref_alignment): Fix
alignment computation.

* g++.dg/torture/pr78189.C: New testcase.

From-SVN: r241892
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr78189.C [new file with mode: 0644]
gcc/tree-vect-data-refs.c