]> matita.cs.unibo.it Git - pkg-cerco/acc.git/blob - tests/clight/testTB_Array_double.Clight.expected
Imported Upstream version 0.2
[pkg-cerco/acc.git] / tests / clight / testTB_Array_double.Clight.expected
1 int t2[5] = { 13, 21, 34, 55, 89, };
2
3 extern void *__builtin___memcpy_chk(void *, void *, unsigned int, unsigned int);
4
5 extern void *__builtin___memmove_chk(void *, void *, unsigned int, unsigned int);
6
7 extern void *__builtin___mempcpy_chk(void *, void *, unsigned int, unsigned int);
8
9 extern void *__builtin___memset_chk(void *, int, unsigned int, unsigned int);
10
11 extern unsigned char *__builtin___stpcpy_chk(unsigned char *, unsigned char *, unsigned int);
12
13 extern unsigned char *__builtin___strcat_chk(unsigned char *, unsigned char *, unsigned int);
14
15 extern unsigned char *__builtin___strcpy_chk(unsigned char *, unsigned char *, unsigned int);
16
17 extern unsigned char *__builtin___strncat_chk(unsigned char *, unsigned char *, unsigned int, unsigned int);
18
19 extern unsigned char *__builtin___strncpy_chk(unsigned char *, unsigned char *, unsigned int, unsigned int);
20
21 extern int __builtin___vfprintf_chk(void *, int, unsigned char *, void *);
22
23 extern int __builtin___vprintf_chk(int, unsigned char *, void *);
24
25 extern int __builtin___vsnprintf_chk(unsigned char *, unsigned int, int, unsigned int, unsigned char *, void *);
26
27 extern int __builtin___vsprintf_chk(unsigned char *, int, unsigned int, unsigned char *, void *);
28
29 extern double __builtin_acos(double);
30
31 extern float __builtin_acosf(float);
32
33 extern double __builtin_acosl(double);
34
35 extern void *__builtin_alloca(unsigned int);
36
37 extern double __builtin_asin(double);
38
39 extern float __builtin_asinf(float);
40
41 extern double __builtin_asinl(double);
42
43 extern double __builtin_atan(double);
44
45 extern float __builtin_atanf(float);
46
47 extern double __builtin_atanl(double);
48
49 extern double __builtin_atan2(double, double);
50
51 extern float __builtin_atan2f(float, float);
52
53 extern double __builtin_atan2l(double, double);
54
55 extern double __builtin_ceil(double);
56
57 extern float __builtin_ceilf(float);
58
59 extern double __builtin_ceill(double);
60
61 extern double __builtin_cos(double);
62
63 extern float __builtin_cosf(float);
64
65 extern double __builtin_cosl(double);
66
67 extern double __builtin_cosh(double);
68
69 extern float __builtin_coshf(float);
70
71 extern double __builtin_coshl(double);
72
73 extern int __builtin_clz(unsigned int);
74
75 extern int __builtin_clzl(unsigned int);
76
77 extern int __builtin_clzll(unsigned int);
78
79 extern int __builtin_constant_p(int);
80
81 extern int __builtin_ctz(unsigned int);
82
83 extern int __builtin_ctzl(unsigned int);
84
85 extern int __builtin_ctzll(unsigned int);
86
87 extern double __builtin_exp(double);
88
89 extern float __builtin_expf(float);
90
91 extern double __builtin_expl(double);
92
93 extern int __builtin_expect(int, int);
94
95 extern double __builtin_fabs(double);
96
97 extern float __builtin_fabsf(float);
98
99 extern double __builtin_fabsl(double);
100
101 extern int __builtin_ffs(unsigned int);
102
103 extern int __builtin_ffsl(unsigned int);
104
105 extern int __builtin_ffsll(unsigned int);
106
107 extern void *__builtin_frame_address(unsigned int);
108
109 extern double __builtin_floor(double);
110
111 extern float __builtin_floorf(float);
112
113 extern double __builtin_floorl(double);
114
115 extern double __builtin_huge_val(void);
116
117 extern float __builtin_huge_valf(void);
118
119 extern double __builtin_huge_vall(void);
120
121 extern double __builtin_inf(void);
122
123 extern float __builtin_inff(void);
124
125 extern double __builtin_infl(void);
126
127 extern void *__builtin_memcpy(void *, void *, unsigned int);
128
129 extern void *__builtin_mempcpy(void *, void *, unsigned int);
130
131 extern double __builtin_fmod(double);
132
133 extern float __builtin_fmodf(float);
134
135 extern double __builtin_fmodl(double);
136
137 extern double __builtin_frexp(double, int *);
138
139 extern float __builtin_frexpf(float, int *);
140
141 extern double __builtin_frexpl(double, int *);
142
143 extern double __builtin_ldexp(double, int);
144
145 extern float __builtin_ldexpf(float, int);
146
147 extern double __builtin_ldexpl(double, int);
148
149 extern double __builtin_log(double);
150
151 extern float __builtin_logf(float);
152
153 extern double __builtin_logl(double);
154
155 extern double __builtin_log10(double);
156
157 extern float __builtin_log10f(float);
158
159 extern double __builtin_log10l(double);
160
161 extern float __builtin_modff(float, float *);
162
163 extern double __builtin_modfl(double, double *);
164
165 extern double __builtin_nan(unsigned char *);
166
167 extern float __builtin_nanf(unsigned char *);
168
169 extern double __builtin_nanl(unsigned char *);
170
171 extern double __builtin_nans(unsigned char *);
172
173 extern float __builtin_nansf(unsigned char *);
174
175 extern double __builtin_nansl(unsigned char *);
176
177 extern void *__builtin_next_arg(void);
178
179 extern unsigned int __builtin_object_size(void *, int);
180
181 extern int __builtin_parity(unsigned int);
182
183 extern int __builtin_parityl(unsigned int);
184
185 extern int __builtin_parityll(unsigned int);
186
187 extern int __builtin_popcount(unsigned int);
188
189 extern int __builtin_popcountl(unsigned int);
190
191 extern int __builtin_popcountll(unsigned int);
192
193 extern double __builtin_powi(double, int);
194
195 extern float __builtin_powif(float, int);
196
197 extern double __builtin_powil(double, int);
198
199 extern void __builtin_return(void *);
200
201 extern void *__builtin_return_address(unsigned int);
202
203 extern double __builtin_sin(double);
204
205 extern float __builtin_sinf(float);
206
207 extern double __builtin_sinl(double);
208
209 extern double __builtin_sinh(double);
210
211 extern float __builtin_sinhf(float);
212
213 extern double __builtin_sinhl(double);
214
215 extern double __builtin_sqrt(double);
216
217 extern float __builtin_sqrtf(float);
218
219 extern double __builtin_sqrtl(double);
220
221 extern unsigned char *__builtin_stpcpy(unsigned char *, unsigned char *);
222
223 extern unsigned char *__builtin_strchr(unsigned char *, unsigned char);
224
225 extern int __builtin_strcmp(unsigned char *, unsigned char *);
226
227 extern unsigned char *__builtin_strcpy(unsigned char *, unsigned char *);
228
229 extern unsigned int __builtin_strcspn(unsigned char *, unsigned char *);
230
231 extern unsigned char *__builtin_strncat(unsigned char *, unsigned char *, unsigned int);
232
233 extern int __builtin_strncmp(unsigned char *, unsigned char *, unsigned int);
234
235 extern unsigned char *__builtin_strncpy(unsigned char *, unsigned char *, unsigned int);
236
237 extern int __builtin_strspn(unsigned char *, unsigned char *);
238
239 extern unsigned char *__builtin_strpbrk(unsigned char *, unsigned char *);
240
241 extern int __builtin_types_compatible_p(unsigned int, unsigned int);
242
243 extern double __builtin_tan(double);
244
245 extern float __builtin_tanf(float);
246
247 extern double __builtin_tanl(double);
248
249 extern double __builtin_tanh(double);
250
251 extern float __builtin_tanhf(float);
252
253 extern double __builtin_tanhl(double);
254
255 extern void __builtin_va_end(void *);
256
257 extern void __builtin_varargs_start(void *);
258
259 extern void __builtin_va_start(void *, void *);
260
261 extern void __builtin_stdarg_start(void *);
262
263 extern void __builtin_va_arg(void *, unsigned int);
264
265 extern void __builtin_va_copy(void *, void *);
266
267 int array_double(int *tableau1, int *tableau2, int i, int j)
268 {
269   int a;
270   c2:
271   a = tableau2[i];
272   c1:
273   tableau1[j] = tableau2[j] + a;
274   c0:
275   return tableau1[j];
276 }
277
278 int main(void)
279 {
280   int t1[5];
281   int t;
282   c9:
283   t1[0] = 0;
284   c8:
285   t1[1] = 0;
286   c7:
287   t1[2] = 0;
288   c6:
289   t1[3] = 0;
290   c5:
291   t1[4] = 0;
292   c4:
293   t = array_double(t1, t2, 0, 0);
294   c3:
295   return t;
296 }
297
298