1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-add-options bind_pic_locally } */
4
5 __attribute__((aligned (8))) int a[2048] = {};
6
7 void
8 f1 (void)
9 {
10 for (int i = 0; i < 2048; i++)
11 a[i]++;
12 }
13
14 /* { dg-final { scan-tree-dump-not "Vectorizing an unaligned access" "vect" } } */
15 /* { dg-final { scan-tree-dump-not "Alignment of access forced using peeling" "vect" } } */