source: tests/.expect/extension.x86.txt @ 508cff0

Last change on this file since 508cff0 was db19e1d, checked in by Andrew Beach <ajbeach@…>, 41 hours ago

Changed the interpritation of () to be no parameters instead of any parameters. This had a lot of little changes because of this and some nearby clean-up. This includes some changes, including changing some generated functions to be fixed-args instead of variable-args, stripping out the place holder void parameter earlier, but it still shows up earlier in some cases that examine the parser directly. Also had to update the function generation tools. Have only tested with one --arch. Hopefully this all works out.

  • Property mode set to 100644
File size: 13.4 KB
Line 
1__extension__ signed int _X1ai_1;
2__extension__ signed int _X1bi_1;
3__extension__ signed int _X1ci_1;
4__extension__ struct S {
5    __extension__ signed int _X1ai_1;
6    __extension__ signed int _X1bi_1;
7    __extension__ signed int _X1ci_1;
8};
9static inline void _X12_constructorFv_S1S_autogen___1(struct S *_X4_dstS1S_1);
10static inline void _X12_constructorFv_S1SS1S_autogen___1(struct S *_X4_dstS1S_1, struct S _X4_srcS1S_1);
11static inline void _X11_destructorFv_S1S_autogen___1(struct S *_X4_dstS1S_1);
12static inline struct S _X16_operator_assignFS1S_S1SS1S_autogen___1(struct S *_X4_dstS1S_1, struct S _X4_srcS1S_1);
13static inline void _X12_constructorFv_S1Si_autogen___1(struct S *_X4_dstS1S_1, signed int _X1ai_1);
14static inline void _X12_constructorFv_S1Sii_autogen___1(struct S *_X4_dstS1S_1, signed int _X1ai_1, signed int _X1bi_1);
15static inline void _X12_constructorFv_S1Siii_autogen___1(struct S *_X4_dstS1S_1, signed int _X1ai_1, signed int _X1bi_1, signed int _X1ci_1);
16static inline void _X12_constructorFv_S1S_autogen___1(struct S *_X4_dstS1S_1){
17    {
18        ((void)((*_X4_dstS1S_1)._X1ai_1) /* ?{} */);
19    }
20
21    {
22        ((void)((*_X4_dstS1S_1)._X1bi_1) /* ?{} */);
23    }
24
25    {
26        ((void)((*_X4_dstS1S_1)._X1ci_1) /* ?{} */);
27    }
28
29}
30static inline void _X12_constructorFv_S1SS1S_autogen___1(struct S *_X4_dstS1S_1, struct S _X4_srcS1S_1){
31    {
32        ((void)((*_X4_dstS1S_1)._X1ai_1=_X4_srcS1S_1._X1ai_1) /* ?{} */);
33    }
34
35    {
36        ((void)((*_X4_dstS1S_1)._X1bi_1=_X4_srcS1S_1._X1bi_1) /* ?{} */);
37    }
38
39    {
40        ((void)((*_X4_dstS1S_1)._X1ci_1=_X4_srcS1S_1._X1ci_1) /* ?{} */);
41    }
42
43}
44static inline void _X11_destructorFv_S1S_autogen___1(struct S *_X4_dstS1S_1){
45    {
46        ((void)((*_X4_dstS1S_1)._X1ci_1) /* ^?{} */);
47    }
48
49    {
50        ((void)((*_X4_dstS1S_1)._X1bi_1) /* ^?{} */);
51    }
52
53    {
54        ((void)((*_X4_dstS1S_1)._X1ai_1) /* ^?{} */);
55    }
56
57}
58static inline struct S _X16_operator_assignFS1S_S1SS1S_autogen___1(struct S *_X4_dstS1S_1, struct S _X4_srcS1S_1){
59    struct S _X4_retS1S_1;
60    {
61        ((void)((*_X4_dstS1S_1)._X1ai_1=_X4_srcS1S_1._X1ai_1));
62    }
63
64    {
65        ((void)((*_X4_dstS1S_1)._X1bi_1=_X4_srcS1S_1._X1bi_1));
66    }
67
68    {
69        ((void)((*_X4_dstS1S_1)._X1ci_1=_X4_srcS1S_1._X1ci_1));
70    }
71
72    {
73        ((void)_X12_constructorFv_S1SS1S_autogen___1((&_X4_retS1S_1), (*_X4_dstS1S_1)));
74    }
75
76    return _X4_retS1S_1;
77}
78static inline void _X12_constructorFv_S1Si_autogen___1(struct S *_X4_dstS1S_1, signed int _X1ai_1){
79    {
80        ((void)((*_X4_dstS1S_1)._X1ai_1=_X1ai_1) /* ?{} */);
81    }
82
83    {
84        ((void)((*_X4_dstS1S_1)._X1bi_1) /* ?{} */);
85    }
86
87    {
88        ((void)((*_X4_dstS1S_1)._X1ci_1) /* ?{} */);
89    }
90
91}
92static inline void _X12_constructorFv_S1Sii_autogen___1(struct S *_X4_dstS1S_1, signed int _X1ai_1, signed int _X1bi_1){
93    {
94        ((void)((*_X4_dstS1S_1)._X1ai_1=_X1ai_1) /* ?{} */);
95    }
96
97    {
98        ((void)((*_X4_dstS1S_1)._X1bi_1=_X1bi_1) /* ?{} */);
99    }
100
101    {
102        ((void)((*_X4_dstS1S_1)._X1ci_1) /* ?{} */);
103    }
104
105}
106static inline void _X12_constructorFv_S1Siii_autogen___1(struct S *_X4_dstS1S_1, signed int _X1ai_1, signed int _X1bi_1, signed int _X1ci_1){
107    {
108        ((void)((*_X4_dstS1S_1)._X1ai_1=_X1ai_1) /* ?{} */);
109    }
110
111    {
112        ((void)((*_X4_dstS1S_1)._X1bi_1=_X1bi_1) /* ?{} */);
113    }
114
115    {
116        ((void)((*_X4_dstS1S_1)._X1ci_1=_X1ci_1) /* ?{} */);
117    }
118
119}
120__extension__ union U {
121    __extension__ signed int _X1ai_1;
122    __extension__ signed int _X1bi_1;
123    __extension__ signed int _X1ci_1;
124};
125static inline void _X12_constructorFv_U1U_autogen___1(__attribute__ ((unused)) union U *_X4_dstU1U_1);
126static inline void _X12_constructorFv_U1UU1U_autogen___1(union U *_X4_dstU1U_1, union U _X4_srcU1U_1);
127static inline void _X11_destructorFv_U1U_autogen___1(__attribute__ ((unused)) union U *_X4_dstU1U_1);
128static inline union U _X16_operator_assignFU1U_U1UU1U_autogen___1(union U *_X4_dstU1U_1, union U _X4_srcU1U_1);
129static inline void _X12_constructorFv_U1Ui_autogen___1(union U *_X4_dstU1U_1, signed int _X1ai_1);
130static inline void _X12_constructorFv_U1U_autogen___1(__attribute__ ((unused)) union U *_X4_dstU1U_1){
131}
132static inline void _X12_constructorFv_U1UU1U_autogen___1(union U *_X4_dstU1U_1, union U _X4_srcU1U_1){
133    {
134        ((void)__builtin_memcpy(((void *)_X4_dstU1U_1), ((const void *)(&_X4_srcU1U_1)), sizeof(union U )));
135    }
136
137}
138static inline void _X11_destructorFv_U1U_autogen___1(__attribute__ ((unused)) union U *_X4_dstU1U_1){
139}
140static inline union U _X16_operator_assignFU1U_U1UU1U_autogen___1(union U *_X4_dstU1U_1, union U _X4_srcU1U_1){
141    union U _X4_retU1U_1;
142    {
143        ((void)__builtin_memcpy(((void *)_X4_dstU1U_1), ((const void *)(&_X4_srcU1U_1)), sizeof(union U )));
144    }
145
146    {
147        ((void)_X12_constructorFv_U1UU1U_autogen___1((&_X4_retU1U_1), (*_X4_dstU1U_1)));
148    }
149
150    return _X4_retU1U_1;
151}
152static inline void _X12_constructorFv_U1Ui_autogen___1(union U *_X4_dstU1U_1, signed int _X1ai_1){
153    {
154        ((void)__builtin_memcpy(((void *)_X4_dstU1U_1), ((const void *)(&_X1ai_1)), sizeof(signed int )));
155    }
156
157}
158__extension__ enum E {
159    _X1RKM1E_1,
160    _X1GKM1E_1,
161    _X1BKM1E_1,
162};
163__extension__ signed int _X1fFi___1(void);
164__extension__ signed int i;
165__extension__ signed int j;
166__extension__ signed int _X4fredFi_i__1(signed int _X1pi_1){
167    __attribute__ ((unused)) signed int _X12_retval_fredi_1;
168    __extension__ struct S {
169        __extension__ signed int _X1ai_2;
170        __extension__ signed int _X1bi_2;
171        __extension__ signed int _X1ci_2;
172        __extension__ signed int *_X1xPi_2;
173        __extension__ signed int *_X1yPi_2;
174        __extension__ signed int *_X1zPi_2;
175    };
176    inline void _X12_constructorFv_S1S_autogen___2(struct S *_X4_dstS1S_2){
177        {
178            ((void)((*_X4_dstS1S_2)._X1ai_2) /* ?{} */);
179        }
180
181        {
182            ((void)((*_X4_dstS1S_2)._X1bi_2) /* ?{} */);
183        }
184
185        {
186            ((void)((*_X4_dstS1S_2)._X1ci_2) /* ?{} */);
187        }
188
189        {
190            ((void)((*_X4_dstS1S_2)._X1xPi_2) /* ?{} */);
191        }
192
193        {
194            ((void)((*_X4_dstS1S_2)._X1yPi_2) /* ?{} */);
195        }
196
197        {
198            ((void)((*_X4_dstS1S_2)._X1zPi_2) /* ?{} */);
199        }
200
201    }
202    inline void _X12_constructorFv_S1SS1S_autogen___2(struct S *_X4_dstS1S_2, struct S _X4_srcS1S_2){
203        {
204            ((void)((*_X4_dstS1S_2)._X1ai_2=_X4_srcS1S_2._X1ai_2) /* ?{} */);
205        }
206
207        {
208            ((void)((*_X4_dstS1S_2)._X1bi_2=_X4_srcS1S_2._X1bi_2) /* ?{} */);
209        }
210
211        {
212            ((void)((*_X4_dstS1S_2)._X1ci_2=_X4_srcS1S_2._X1ci_2) /* ?{} */);
213        }
214
215        {
216            ((void)((*_X4_dstS1S_2)._X1xPi_2=_X4_srcS1S_2._X1xPi_2) /* ?{} */);
217        }
218
219        {
220            ((void)((*_X4_dstS1S_2)._X1yPi_2=_X4_srcS1S_2._X1yPi_2) /* ?{} */);
221        }
222
223        {
224            ((void)((*_X4_dstS1S_2)._X1zPi_2=_X4_srcS1S_2._X1zPi_2) /* ?{} */);
225        }
226
227    }
228    inline void _X11_destructorFv_S1S_autogen___2(struct S *_X4_dstS1S_2){
229        {
230            ((void)((*_X4_dstS1S_2)._X1zPi_2) /* ^?{} */);
231        }
232
233        {
234            ((void)((*_X4_dstS1S_2)._X1yPi_2) /* ^?{} */);
235        }
236
237        {
238            ((void)((*_X4_dstS1S_2)._X1xPi_2) /* ^?{} */);
239        }
240
241        {
242            ((void)((*_X4_dstS1S_2)._X1ci_2) /* ^?{} */);
243        }
244
245        {
246            ((void)((*_X4_dstS1S_2)._X1bi_2) /* ^?{} */);
247        }
248
249        {
250            ((void)((*_X4_dstS1S_2)._X1ai_2) /* ^?{} */);
251        }
252
253    }
254    inline struct S _X16_operator_assignFS1S_S1SS1S_autogen___2(struct S *_X4_dstS1S_2, struct S _X4_srcS1S_2){
255        struct S _X4_retS1S_2;
256        {
257            ((void)((*_X4_dstS1S_2)._X1ai_2=_X4_srcS1S_2._X1ai_2));
258        }
259
260        {
261            ((void)((*_X4_dstS1S_2)._X1bi_2=_X4_srcS1S_2._X1bi_2));
262        }
263
264        {
265            ((void)((*_X4_dstS1S_2)._X1ci_2=_X4_srcS1S_2._X1ci_2));
266        }
267
268        {
269            ((void)((*_X4_dstS1S_2)._X1xPi_2=_X4_srcS1S_2._X1xPi_2));
270        }
271
272        {
273            ((void)((*_X4_dstS1S_2)._X1yPi_2=_X4_srcS1S_2._X1yPi_2));
274        }
275
276        {
277            ((void)((*_X4_dstS1S_2)._X1zPi_2=_X4_srcS1S_2._X1zPi_2));
278        }
279
280        {
281            ((void)_X12_constructorFv_S1SS1S_autogen___2((&_X4_retS1S_2), (*_X4_dstS1S_2)));
282        }
283
284        return _X4_retS1S_2;
285    }
286    inline void _X12_constructorFv_S1Si_autogen___2(struct S *_X4_dstS1S_2, signed int _X1ai_2){
287        {
288            ((void)((*_X4_dstS1S_2)._X1ai_2=_X1ai_2) /* ?{} */);
289        }
290
291        {
292            ((void)((*_X4_dstS1S_2)._X1bi_2) /* ?{} */);
293        }
294
295        {
296            ((void)((*_X4_dstS1S_2)._X1ci_2) /* ?{} */);
297        }
298
299        {
300            ((void)((*_X4_dstS1S_2)._X1xPi_2) /* ?{} */);
301        }
302
303        {
304            ((void)((*_X4_dstS1S_2)._X1yPi_2) /* ?{} */);
305        }
306
307        {
308            ((void)((*_X4_dstS1S_2)._X1zPi_2) /* ?{} */);
309        }
310
311    }
312    inline void _X12_constructorFv_S1Sii_autogen___2(struct S *_X4_dstS1S_2, signed int _X1ai_2, signed int _X1bi_2){
313        {
314            ((void)((*_X4_dstS1S_2)._X1ai_2=_X1ai_2) /* ?{} */);
315        }
316
317        {
318            ((void)((*_X4_dstS1S_2)._X1bi_2=_X1bi_2) /* ?{} */);
319        }
320
321        {
322            ((void)((*_X4_dstS1S_2)._X1ci_2) /* ?{} */);
323        }
324
325        {
326            ((void)((*_X4_dstS1S_2)._X1xPi_2) /* ?{} */);
327        }
328
329        {
330            ((void)((*_X4_dstS1S_2)._X1yPi_2) /* ?{} */);
331        }
332
333        {
334            ((void)((*_X4_dstS1S_2)._X1zPi_2) /* ?{} */);
335        }
336
337    }
338    inline void _X12_constructorFv_S1Siii_autogen___2(struct S *_X4_dstS1S_2, signed int _X1ai_2, signed int _X1bi_2, signed int _X1ci_2){
339        {
340            ((void)((*_X4_dstS1S_2)._X1ai_2=_X1ai_2) /* ?{} */);
341        }
342
343        {
344            ((void)((*_X4_dstS1S_2)._X1bi_2=_X1bi_2) /* ?{} */);
345        }
346
347        {
348            ((void)((*_X4_dstS1S_2)._X1ci_2=_X1ci_2) /* ?{} */);
349        }
350
351        {
352            ((void)((*_X4_dstS1S_2)._X1xPi_2) /* ?{} */);
353        }
354
355        {
356            ((void)((*_X4_dstS1S_2)._X1yPi_2) /* ?{} */);
357        }
358
359        {
360            ((void)((*_X4_dstS1S_2)._X1zPi_2) /* ?{} */);
361        }
362
363    }
364    inline void _X12_constructorFv_S1SiiiPi_autogen___2(struct S *_X4_dstS1S_2, signed int _X1ai_2, signed int _X1bi_2, signed int _X1ci_2, signed int *_X1xPi_2){
365        {
366            ((void)((*_X4_dstS1S_2)._X1ai_2=_X1ai_2) /* ?{} */);
367        }
368
369        {
370            ((void)((*_X4_dstS1S_2)._X1bi_2=_X1bi_2) /* ?{} */);
371        }
372
373        {
374            ((void)((*_X4_dstS1S_2)._X1ci_2=_X1ci_2) /* ?{} */);
375        }
376
377        {
378            ((void)((*_X4_dstS1S_2)._X1xPi_2=_X1xPi_2) /* ?{} */);
379        }
380
381        {
382            ((void)((*_X4_dstS1S_2)._X1yPi_2) /* ?{} */);
383        }
384
385        {
386            ((void)((*_X4_dstS1S_2)._X1zPi_2) /* ?{} */);
387        }
388
389    }
390    inline void _X12_constructorFv_S1SiiiPiPi_autogen___2(struct S *_X4_dstS1S_2, signed int _X1ai_2, signed int _X1bi_2, signed int _X1ci_2, signed int *_X1xPi_2, signed int *_X1yPi_2){
391        {
392            ((void)((*_X4_dstS1S_2)._X1ai_2=_X1ai_2) /* ?{} */);
393        }
394
395        {
396            ((void)((*_X4_dstS1S_2)._X1bi_2=_X1bi_2) /* ?{} */);
397        }
398
399        {
400            ((void)((*_X4_dstS1S_2)._X1ci_2=_X1ci_2) /* ?{} */);
401        }
402
403        {
404            ((void)((*_X4_dstS1S_2)._X1xPi_2=_X1xPi_2) /* ?{} */);
405        }
406
407        {
408            ((void)((*_X4_dstS1S_2)._X1yPi_2=_X1yPi_2) /* ?{} */);
409        }
410
411        {
412            ((void)((*_X4_dstS1S_2)._X1zPi_2) /* ?{} */);
413        }
414
415    }
416    inline void _X12_constructorFv_S1SiiiPiPiPi_autogen___2(struct S *_X4_dstS1S_2, signed int _X1ai_2, signed int _X1bi_2, signed int _X1ci_2, signed int *_X1xPi_2, signed int *_X1yPi_2, signed int *_X1zPi_2){
417        {
418            ((void)((*_X4_dstS1S_2)._X1ai_2=_X1ai_2) /* ?{} */);
419        }
420
421        {
422            ((void)((*_X4_dstS1S_2)._X1bi_2=_X1bi_2) /* ?{} */);
423        }
424
425        {
426            ((void)((*_X4_dstS1S_2)._X1ci_2=_X1ci_2) /* ?{} */);
427        }
428
429        {
430            ((void)((*_X4_dstS1S_2)._X1xPi_2=_X1xPi_2) /* ?{} */);
431        }
432
433        {
434            ((void)((*_X4_dstS1S_2)._X1yPi_2=_X1yPi_2) /* ?{} */);
435        }
436
437        {
438            ((void)((*_X4_dstS1S_2)._X1zPi_2=_X1zPi_2) /* ?{} */);
439        }
440
441    }
442    signed int _X1ii_2 = (__extension__ _X1ai_1+__extension__ 3);
443    {
444        ((void)__extension__ 3);
445    }
446
447    {
448        ((void)__extension__ _X1ai_1);
449    }
450
451    __extension__ signed int _X1ai_2;
452    __extension__ signed int _X1bi_2;
453    __extension__ signed int _X1ci_2;
454    {
455        ((void)(__extension__ _X1ai_2=(__extension__ _X1bi_2+__extension__ _X1ci_2)));
456    }
457
458    {
459        signed int _tmp_cp_ret6;
460        ((void)(((void)(_tmp_cp_ret6=__extension__ _X4fredFi_i__1(3))) , _tmp_cp_ret6));
461    }
462
463    __extension__ signed int _X4maryFi_i__2(signed int _X1pi_2){
464        __attribute__ ((unused)) signed int _X12_retval_maryi_2;
465    }
466    {
467        ((void)__extension__ sizeof(3));
468    }
469
470    {
471        ((void)__extension__ ((3!=((signed int )0)) || (4!=((signed int )0))));
472    }
473
474    {
475        ((void)__extension__ __alignof__(__extension__ _X1ai_2));
476    }
477
478    {
479        ((void)((__extension__ _X1ai_2!=((signed int )0)) || (((__extension__ _X1bi_2!=((signed int )0)) && (__extension__ _X1ci_2!=((signed int )0)))!=((signed int )0))));
480    }
481
482    {
483        ((void)(((__extension__ _X1ai_2>__extension__ _X1bi_2)!=((signed int )0)) ? __extension__ _X1ci_2 : __extension__ _X1ci_2));
484    }
485
486    {
487        ((void)(__extension__ _X1ai_2=__extension__ (__extension__ _X1bi_2+__extension__ _X1ci_2)));
488    }
489
490    {
491        ((void)(((void)(((void)__extension__ _X1ai_2) , __extension__ _X1bi_2)) , __extension__ _X1ci_2));
492    }
493
494}
Note: See TracBrowser for help on using the repository browser.