Debian Codegraph @

gcc/testsuite/gcc.dg/lto/pr113907_0.c

raw
1 /* { dg-lto-do run } */
2 /* { dg-lto-options {{-O3 -flto}} } */
3
4 struct bar {int a;};
5 struct foo {int a;};
6 struct barp {struct bar *f; struct bar *g;};
7 extern struct foo **ptr;
8 int test2 (void *);
9 int test3 (void *);
10 int
11 testb(void)
12 {
13 struct bar *fp;
14 test2 ((void *)&fp);
15 fp = (void *) 0;
16 (*ptr)++;
17 test3 ((void *)&fp);
18 }