1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
6 struct s
{ int x
[N
]; };
9 f1 (struct s
*a
, struct s
*b
)
11 for (int i
= 0; i
< N
; ++i
)
12 a
->x
[i
] += b
->x
[N
- i
- 1];
15 /* { dg-final { scan-tree-dump {checking that [^\n]* and [^\n]* have different addresses} "vect" } } */
16 /* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" { target { vect_perm && vect_element_align } } } } */