Debian Codegraph @

gcc/testsuite/gcc.dg/ipa/pr111571.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3
4 struct a {
5 int b;
6 };
7 struct c {
8 long d;
9 struct a e;
10 long f;
11 };
12 int g, h, i;
13 int j() {return 0;}
14 static void k(struct a l, int p) {
15 if (h)
16 g = 0;
17 for (; g; g = j())
18 if (l.b)
19 break;
20 }
21 static void m(struct c l) {
22 k(l.e, l.f);
23 for (;; --i)
24 ;
25 }
26 int main() {
27 struct c n = {10, 9};
28 m(n);
29 }