summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/graphite/id-11.c
blob: 387512c3c4c501d3a0faf5b27dffee7cf37cd694 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
double
foo (double x, double *cof)
{
  int i;
  double tmp, value;

  for (i = 10; i >= 0; i--)
    {
      value += cof[i] / tmp;
      tmp -= 1.0;
    }

  return value;
}