1 /* { dg-require-effective-target vect_int } */
7 /* Compile time unknown misalignment. Cannot use loop peeling to align
15 } __attribute__ ((packed
));
18 int z
[N
] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16};
20 __attribute__ ((noinline
))
21 void fbar(struct foo
*fp
)
30 if (f2
.y
[i
][j
] != z
[i
])
36 struct foo
*fp
= (struct foo
*) malloc (2*sizeof (struct foo
));
45 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
46 /* { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 1 "vect" { target { vect_hw_misalign && arm_vect_no_misalign } } } } */
47 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */