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

int a, *b = &a, c, d;
int main() {
  *b;
  if (a) {
  L1:
    a = 0;
  L2:
    if (d) {
      while (b)
        ;
      goto L1;
    }
  }
  if (c)
    goto L2;
  return 0;
}