1 /* { dg-options "-O1 -funsafe-math-optimizations -floop-interchange" } */
2 
f(double x)3 double f(double x)
4 {
5   double y = 0.0;
6   int i;
7   for (i = 0; i < 8; i++) {
8     y += x * i;
9   }
10   return y;
11 }
12