summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/991214-1.c
blob: 2748a15af84b4eac586697ad15b07eb041179b5d (plain)
1
2
3
4
5
6
7
8
9
10
11
void foo(double bar[], double *zp, int n)
{
   int i, j;

   i = 0;
   for(j = 0; j < n; j++)
   {
      i += j+1;
      bar[i] *= (1.0 + *zp);
   }
}