summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr62208.c
blob: 1fc9733b881a4bc324cc06d729002c1f208d24df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* { dg-options "-O3 -fwhole-program -march=x86-64" } */

int *a;
unsigned int b;

void fn2 ()
{
  int t[9];
  for (; b; b++)
    *a ^= (~t[b] != t[b]);
}

int fn1 ()
{
  fn2 (); 
  return 0; 
}

int main ()
{
  fn1 (); 
  return 0;
}