1 /* { dg-require-effective-target vect_int } */
7 char x[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
8 char cb[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__))) = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
10 __attribute__ ((noinline))
19 /* Not vectorized - can't antialias the pointer s.p from the array cb. */
21 for (i = 0; i < N; i++)
27 for (i = 0; i < N; i++)
33 /* Not vectorized - can't antialias the pointer s.p from the pointer s.q. */
35 for (i = 0; i < N; i++)
41 for (i = 0; i < N; i++)
57 /* Currently the loops fail to vectorize due to aliasing problems.
58 If/when the aliasing problems are resolved, unalignment may
59 prevent vectorization on some targets. */
60 /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" { xfail *-*-* } } } */
61 /* { dg-final { scan-tree-dump-times "can't determine dependence" 2 "vect" { xfail vect_multiple_sizes } } } */
62 /* { dg-final { scan-tree-dump-times "can't determine dependence" 4 "vect" { target vect_multiple_sizes } } } */
63 /* { dg-final { cleanup-tree-dump "vect" } } */