Revert DECL_USER_ALIGN part of r241959
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-align-4.c
blob82bbf07c568961f20cd17e5f088f6a2bd837391e
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-add-options bind_pic_locally } */
5 __attribute__((aligned (8))) int a[2048] = {};
7 void
8 f1 (void)
10 for (int i = 0; i < 2048; i++)
11 a[i]++;
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" } } */