aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr77605.c
blob: 3f1a26bc8d57ebd126dd3160251ee72e355f9aeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do run } */

int a, b, c[2][8];

int main ()
{
  for (a = 0; a < 8; a++)
    for (b = 0; b < 2; b++)
      c[b][a] = c[b][b + 6] ^ 1;

  if (c[0][7] != 0) 
    __builtin_abort ();

  return 0; 
}