OSDN Git Service

2008-07-27 Victor Kaplansky <victork@il.ibm.com>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / vect / vect-ifcvt-10.c
1 /* PR 21272 */
2 /* { dg-do compile } */
3 double
4 foo (int j, double *v, double x)
5 {
6   int i;
7   for (i = 0; i < j; i++)
8     if (v[i] < x)
9       x = v[i];
10   return x;
11 }
12 /* { dg-final { cleanup-tree-dump "vect" } } */