1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
typedef short Guard;

/* In order to be able to inspect the result... */
int res;
int T_res;

void fibonacci(int n)
{
{
/*TP*/ int T_n = n;
/*TP*/ Guard Ret = 0;
/*TP*/ Guard T_Ret = 0;
{
{
int tmp;
int T_tmp;
/* {char *CP0;} */
int result;
int T_result;
/* {char *CP1;} */
int i;
int T_i;
/* {char *CP2;} */
int b;
int T_b;
/* {char *CP3;} */
int a;
int T_a;
/* {char *CP4;} */
if (!Ret) i = 0;
if (!T_Ret) T_i = 0;
/* {char *CP5;} */
if (!Ret) a = 0;
if (!T_Ret) T_a = 0;
/* {char *CP6;} */
if (!Ret) b = 1;
if (!T_Ret) T_b = 1;
/* {char *CP7;} */
L1:;
T_L1:;
{
{
Guard G0 = 1;
Guard T_G0 = 1;
if (!Ret) G0 = (i <= n);
if (!T_Ret) T_G0 = (T_i <= T_n);
/* {char *CP8;} */
{
{
if (!Ret) if (G0) tmp = (a + b);
if (!T_Ret) if (T_G0) T_tmp = (T_a + T_b);
/* {char *CP9;} */
if (!Ret) if (G0) a = b;
if (!T_Ret) if (T_G0) T_a = T_b;
/* {char *CP10;} */
if (!Ret) if (G0) b = tmp;
if (!T_Ret) if (T_G0) T_b = T_tmp;
/* {char *CP11;} */
if (!Ret) if (G0) i = (i + 1);
if (!T_Ret) if (T_G0) T_i = (T_i + 1);
/* {char *CP12;} */
}
}
L2:;
T_L2:;
if (!Ret) if (G0) goto L1;
if (!T_Ret) if (T_G0) goto T_L1;
/* {char *CP13;} */
L3:;
T_L3:;
}
}
if (!Ret) result = a;
if (!T_Ret) T_result = T_a;
/* {char *CP14;} */
if (!Ret) res = result;
if (!T_Ret) T_res = T_result;
{char *CP15;}
}
}
}
}