summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/981001-1.c
blob: d7cf0dc64b0d7acc6c378987ed486af8a686ae9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
unsigned short code = 0x0000;
unsigned short  low = 0x4000;
unsigned short high = 0xb000;

int main (void)
{
  if (
         (high & 0x8000) != (low & 0x8000)
      && ( low & 0x4000) == 0x4000
      && (high & 0x4000) == 0
      )
    {
      code ^= 0x4000;
      low  |= 0x4000;
    }
  
  exit (0);
}