Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/930411-1.c

raw
1 /* { dg-require-effective-target untyped_assembly } */
2 /* { dg-additional-options "-std=gnu89" } */
3
4 int heap;
5
6 g(){}
7
8 f(int i1, int i2)
9 {
10 i1 = *(int*)(i1 + 4);
11 if (i1 == 0)
12 goto L4;
13 else
14 goto L9;
15 L3:
16 i2 = heap - 8;
17 *(int*)i2 = 3;
18 *(int*)(i2 + 4) = i1;
19 heap -= 8;
20 return i2;
21 L4:
22 i1 = g(i2);
23 goto L5;
24 L5:
25 i1 = *(int*)(i1 + 4);
26 if (i1 == 0)
27 goto L7;
28 else
29 goto L8;
30 L7:
31 i1 = 0;
32 goto L3;
33 L8:
34 i1 = 1;
35 goto L3;
36 L9:
37 i1 = 1;
38 goto L3;
39 }