summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr59288.c
blob: 8331e73289cf67f65656adec1f30a036d1ff0749 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */

void
baz (int *d)
{
  long int i, j, k;
  for (i = 0, j = 0, k = 0; i < 512; i = (int) i + 1, j = (int) j + 1, k = (int) k + 3)
    d[i] = j ^ (i * 3) ^ (2 * k + 2);
}