2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git] / gcc / testsuite / g++.dg / vect / pr36648.cc
blob6306b4d65404bc881bdb9aa4a43071e08d9ee5ed
1 /* { dg-require-effective-target vect_float } */
3 struct vector
5 vector() : x(0), y(0), z(0) { }
6 float x,y,z;
7 };
9 struct Foo
11 int dummy;
12 /* Misaligned access. */
13 vector array_of_vectors[4];
16 Foo foo;
18 int main() { }
20 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { ! vect_no_align } } } } */
21 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target { ! vect_no_align } } } } */
22 /* { dg-final { cleanup-tree-dump "vect" } } */