Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr64357.c

raw
1 /* { dg-do compile } */
2
3 int a, b, c, d, e, f;
4
5 long long
6 fn1 (int p)
7 {
8 return p ? p : 1;
9 }
10
11 static int
12 fn2 ()
13 {
14 lbl:
15 for (; f;)
16 return 0;
17 for (;;)
18 {
19 for (b = 0; b; ++b)
20 if (d)
21 goto lbl;
22 c = e;
23 }
24 }
25
26 void
27 fn3 ()
28 {
29 for (; a; a = fn1 (a))
30 {
31 fn2 ();
32 e = 0;
33 }
34 }