1 /* { dg-require-effective-target vect_int } */
10 __attribute__ ((noinline))
16 /* Don't peel keeping one load and the store aligned. */
17 for (i = 0; i <= N; i++)
19 ia[i] = ib[i] + ib[i+6];
23 for (i = 1; i <= N; i++)
25 if (ia[i] != ib[i] + ib[i+6])
38 for (i = 0; i <= N+6; i++)
40 asm volatile ("" : "+r" (i));
47 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
48 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail vect_no_align } } } */
49 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
50 /* { dg-final { cleanup-tree-dump "vect" } } */