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

int a, b, c;

void
fn1 ()
{
  b = c ? 0 : 1 << a;
  b |= 0x9D7A5FD9;
  for (;;)
    {
      int d = 1;
      b &= (unsigned) d;
    }
}