Add compile command to each testcase
[gcc-vect-testsuite.git] / pr30858.c
blob0af2f8e9a91ca7faf728fa15bc00584245b48f79
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
4 int
5 foo (int ko)
7 int j,i;
8 for (j = 0; j < ko; j++)
9 i += (i > 10) ? -5 : 7;
10 return i;
13 /* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" } } */
14 /* { dg-final { scan-tree-dump-times "Unknown def-use cycle pattern." 1 "vect" } } */
15 /* { dg-final { cleanup-tree-dump "vect" } } */