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

int *a;
static int b, c, d, e, g, h;
int f;
void i() {
  int *j[] = {&e, &b, &b, &d, &b, &b, &g, &e, &g, &b, &b,
              &b, &b, &g, &e, &e, &b, &b, &d, &b, &b, &e,
              &e, &g, &b, &b, &b, &b, &g, &e, &g, &c, &e};
  int **k = &j[5];
  for (; f;)
    b |= *a;
  *k = &h;
}
int main() {}