aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr97737.c
blob: eef1c3531911be6faa5789b8e2e81fa20324e85c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-O2" } */

int a = 1, b, c;

void d() {
  int e = 1;
L1:
  b = e;
L2:
  e = e / a;
  if (!(e || c || e - 1))
    goto L1;
  if (!b)
    goto L2;
}