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

int printf(const char *, ...);
long a;
int b;
volatile int c;
int main() {
  long e = a;
  int f = a;
 L:
  if (b > 0) {
    printf("0");
    goto L;
  }
  if (f) {
    printf("%ld", (long)b);
    goto L;
  }
  e >= b && c;
  return 0;
}