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

int a = 1, *c = &a, d;
signed char b;

int main ()
{
  for (; b > -27; b--)
    {
      *c ^= b;
      *c ^= 1;
    }
  while (a > 1)
    ;
  return 0; 
}