openmp: Fix signed/unsigned warning
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-alias-check-17.c
blobc49c497c2d03d2472a54cca2fc58c9d7b60a53a7
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_load_lanes } */
4 struct s { int x[100]; };
6 void
7 f (struct s *s1, int a, int b)
9 for (int i = 0; i < 32; ++i)
10 s1->x[a + i] = s1->x[b + i * 2] + s1->x[b + i * 3];
13 /* { dg-final { scan-tree-dump {flags: *[^\n]*MIXED_STEPS} "vect" } } */
14 /* { dg-final { scan-tree-dump "using an address-based overlap test" "vect" } } */
15 /* { dg-final { scan-tree-dump-not "using an index-based" "vect" } } */