1 /* { dg-require-effective-target vect_int } */
8 char x
[N
] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
9 char cb
[N
] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
13 __attribute__ ((noinline
))
21 for (i
= 0; i
< N
; i
++)
28 /* Check that datarefs analysis can determine that the access via pointer
29 s.p is based off array x, which enables us to antialias this access from
30 the access to array cb. */
32 for (i
= 0; i
< N
; i
++)
38 for (i
= 0; i
< N
; i
++)
44 /* Check that datarefs analysis can determine that the access via pointer
45 s.p is based off array x, and that the access via pointer s.q is based off
46 array cb, which enables us to antialias these two accesses. */
48 for (i
= 0; i
< N
; i
++)
54 for (i
= 0; i
< N
; i
++)
71 /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
72 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */