Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr81196-2.c
blobb5861c17b3da77739bf4d358916271acb5c2b111
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3 /* For negative stride we need to reverse the aligned load. */
4 /* { dg-require-effective-target vect_perm } */
6 void b (int *p)
8 p = (int *)__builtin_assume_aligned(p, __BIGGEST_ALIGNMENT__);
9 int *q = p + 255;
10 for(; p < q; ++p, --q)
12 int t = *p;
13 *p = *q;
14 *q = t;
18 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */