1 /* { dg-require-effective-target vect_int } */
7 /* Compile time known misalignment. Cannot use loop peeling to align
15 } __attribute__((packed
));
17 __attribute__ ((noinline
)) int
18 main1 (struct foo
* __restrict__ p
)
21 int x
[N
] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
23 for (i
= 0; i
< N
; i
++)
29 for (i
= 0; i
< N
; i
++)
41 struct foo
*p
= malloc (2*sizeof (struct foo
));
48 /* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 1 "vect" } } */
49 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
50 /* { dg-final { cleanup-tree-dump "vect" } } */