aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr69030.c
blob: 30919c72c9139f469764c9160ea3ff18cec1a66f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* { dg-do compile } */
/* { dg-options "-O2 -g -w" } */

int a, b, c = 7, d;
static unsigned e, g;
char f;
static unsigned fn1() {
  unsigned h = e - b ^ c;
  int i = h / c & a * g, j = g * h;
  if (h) {
    if (d)
      h = e;
    j = a;
    a = (a && (g % f && i) % h) | c | ~2;
    if (b)
      printf("", 1);
  }
  c = i;
  a = j;
  return 2;
}

int main() {
  for (; b < -18; --b)
    g = 0;
  fn1();
  return 0;
}