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

int a, b, c, d, e;
static void f() {
  int *g = &b;
  b = 1;
  for (; b >= 0; b--) {
    c = 0;
    for (; c <= 1; c++)
      e = 0;
    for (; e <= 1; e++) {
      int h, i = h = 13;
      for (; h; h--)
        i = i << a;
      d &= i + c + 9 + *g;
    }
  }
}
int main() {
  f();
  for (;;)
    ;
}