1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
11 void foo (int ncons
, t_sortblock
*sb
, int *iatom
)
15 for(i
=0; (i
<ncons
); i
++,iatom
+=3)
16 for(m
=0; (m
<DIM
); m
++)
17 iatom
[m
]=sb
[i
].iatom
[m
];
20 /* The testcase was originally added for correctness reasons but now we
21 can vectorize it correctly if the target supports the permutations
24 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 0 "vect" { target { ! vect_perm } } } } */