PR tree-optimization/84740
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-ifcvt-10.c
blob0fbb97f5157b29c620bb2e207aa6dbdeb8804d42
1 /* PR 21272 */
2 /* { dg-do compile } */
3 double
4 foo (int j, double *v, double x)
6 int i;
7 for (i = 0; i < j; i++)
8 if (v[i] < x)
9 x = v[i];
10 return x;