1 /* { dg-require-effective-target vect_int } */
10 /* unaligned store. */
16 __attribute__ ((noinline
))
19 int i
, suma
= 0, sumb
= 0, sumc
= 0;
21 /* ib and ic have same misalignment, we peel to align them. */
22 for (i
= 1; i
<= N
; i
++)
30 if (suma
+ sumb
+ sumc
!= RES
)
42 for (i
= 0; i
< N
+10; i
++)
52 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" } } */
53 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail vect_no_align } } } */
54 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */
55 /* { dg-final { cleanup-tree-dump "vect" } } */