1 /* { dg-require-effective-target vect_int } */
2 /* { dg-add-options quad_vectors } */
7 __attribute__ ((noinline))
8 void with_restrict(int * __restrict p)
13 for (i = 0; i < 1000; ++i) {
18 __attribute__ ((noinline))
19 void without_restrict(int * p)
24 for (i = 0; i < 1000; ++i) {
37 for (i = 0; i < 1002; ++i) {
42 without_restrict(b + 2);
44 for (i = 0; i < 1002; ++i) {
51 /* { dg-final { scan-tree-dump-times "vectorized 0 loops" 2 "vect" { xfail vect_no_align } } } */
52 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
53 /* { dg-final { cleanup-tree-dump "vect" } } */