Fix warnings occured during profiledboostrap on
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr22422.c
blobbc176f9699af39acff8ab15b2fc853d4b7aba825
1 /* We should not crash trying to figure out the points-to sets for the below. We used to because we
2 ended up adding pointers to the points-to set of the ANYTHING variable. */
3 struct D
5 int n;
6 int c [8];
7 };
9 struct A
11 int i;
12 char *p;
15 struct B
17 struct A *a;
18 struct D *d;
21 int dtInsert1 (struct B *b)
23 struct A a = { 0, 0 };
24 struct D *d;
25 b->a = &a;
26 d = b->d;
27 &d->c [d->n];
28 return 0;