aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr107109.c
blob: e3036f6ff22c94f9409459606c83bd3ee053baf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* { dg-do compile } */
/* { dg-options "-O1" } */

int printf(const char *, ...);
int a, b;
void c() {
  int d, e;
 L:
  a = (b && a) ^ 2756578370;
  d = ~a + (e ^ d) ^ 2756578370;
  if (!d)
    printf("%d", a);
  d = a / e;
  goto L;
}
int main() {
  if (a)
    c();
  return 0;
}