OSDN Git Service

* gcc.target/i386/sse-17.c: Include sse2-check.h.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / vect / pr30858.c
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3
4 int
5 foo (int ko)
6 {
7  int j,i;
8   for (j = 0; j < ko; j++)
9    i += (i > 10) ? -5 : 7;
10  return i;
11 }
12
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" } } */