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

int a, b;

int main ()
{
  long c = 1 % (2 ^ b);
  c = -c & ~(~(b ^ ~b) || a);

  if (c >= 0)
    __builtin_abort ();

  return 0;
}