aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr97144.c
blob: 380e5d4e88757ae525742975f67906ca178f91e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
int a, b = 5, c = 3;
char d;
char e[1];
int f[] = {0, 0, 1};
short g;
char *h = e;
void i(void) { b = a; }
static void j(void) {
  h = e;
  if (f[2])
  k:
    for (;;) {
      for (c = 0; c <= 4; c++) {
        for (g = 0; g <= 4; g++)
          f[g + 4] &= 2;
      }
      if (d)
        goto k;
    }
}
void l(void) {
  j();
  c = 0;
}