source: src/tests/.expect/64/extension.txt @ b4748db

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since b4748db was b4748db, checked in by Rob Schluntz <rschlunt@…>, 7 years ago

Update 64-bit tests for missing generated struct functions

  • Property mode set to 100644
File size: 11.9 KB
Line 
1__attribute__ ((__nothrow__,__leaf__,__malloc__)) extern void *malloc(unsigned long int __size);
2__attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr);
3__attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void abort(void);
4__attribute__ ((__nothrow__,__leaf__,__nonnull__(1))) extern signed int atexit(void (*__func)(void));
5__attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void exit(signed int __status);
6extern signed int printf(const char *__restrict __format, ...);
7__extension__ signed int __a__i_1;
8__extension__ signed int __b__i_1;
9__extension__ signed int __c__i_1;
10__extension__ struct S {
11    __extension__ signed int __a__i_1;
12    __extension__ signed int __b__i_1;
13    __extension__ signed int __c__i_1;
14};
15static inline void ___constructor__F_R2sS_autogen___1(struct S *___dst__R2sS_1);
16static inline void ___constructor__F_R2sS2sS_autogen___1(struct S *___dst__R2sS_1, struct S ___src__2sS_1);
17static inline void ___destructor__F_R2sS_autogen___1(struct S *___dst__R2sS_1);
18static inline struct S ___operator_assign__F2sS_R2sS2sS_autogen___1(struct S *___dst__R2sS_1, struct S ___src__2sS_1);
19static inline void ___constructor__F_R2sSi_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1);
20static inline void ___constructor__F_R2sSii_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1, signed int __b__i_1);
21static inline void ___constructor__F_R2sSiii_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1, signed int __b__i_1, signed int __c__i_1);
22static inline void ___constructor__F_R2sS_autogen___1(struct S *___dst__R2sS_1){
23    ((void)((*___dst__R2sS_1).__a__i_1) /* ?{} */);
24    ((void)((*___dst__R2sS_1).__b__i_1) /* ?{} */);
25    ((void)((*___dst__R2sS_1).__c__i_1) /* ?{} */);
26}
27static inline void ___constructor__F_R2sS2sS_autogen___1(struct S *___dst__R2sS_1, struct S ___src__2sS_1){
28    ((void)((*___dst__R2sS_1).__a__i_1=___src__2sS_1.__a__i_1) /* ?{} */);
29    ((void)((*___dst__R2sS_1).__b__i_1=___src__2sS_1.__b__i_1) /* ?{} */);
30    ((void)((*___dst__R2sS_1).__c__i_1=___src__2sS_1.__c__i_1) /* ?{} */);
31}
32static inline void ___destructor__F_R2sS_autogen___1(struct S *___dst__R2sS_1){
33    ((void)((*___dst__R2sS_1).__c__i_1) /* ^?{} */);
34    ((void)((*___dst__R2sS_1).__b__i_1) /* ^?{} */);
35    ((void)((*___dst__R2sS_1).__a__i_1) /* ^?{} */);
36}
37static inline struct S ___operator_assign__F2sS_R2sS2sS_autogen___1(struct S *___dst__R2sS_1, struct S ___src__2sS_1){
38    struct S ___ret__2sS_1;
39    ((void)((*___dst__R2sS_1).__a__i_1=___src__2sS_1.__a__i_1));
40    ((void)((*___dst__R2sS_1).__b__i_1=___src__2sS_1.__b__i_1));
41    ((void)((*___dst__R2sS_1).__c__i_1=___src__2sS_1.__c__i_1));
42    ((void)___constructor__F_R2sS2sS_autogen___1((&___ret__2sS_1), ___src__2sS_1));
43    return ___ret__2sS_1;
44}
45static inline void ___constructor__F_R2sSi_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1){
46    ((void)((*___dst__R2sS_1).__a__i_1=__a__i_1) /* ?{} */);
47    ((void)((*___dst__R2sS_1).__b__i_1) /* ?{} */);
48    ((void)((*___dst__R2sS_1).__c__i_1) /* ?{} */);
49}
50static inline void ___constructor__F_R2sSii_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1, signed int __b__i_1){
51    ((void)((*___dst__R2sS_1).__a__i_1=__a__i_1) /* ?{} */);
52    ((void)((*___dst__R2sS_1).__b__i_1=__b__i_1) /* ?{} */);
53    ((void)((*___dst__R2sS_1).__c__i_1) /* ?{} */);
54}
55static inline void ___constructor__F_R2sSiii_autogen___1(struct S *___dst__R2sS_1, signed int __a__i_1, signed int __b__i_1, signed int __c__i_1){
56    ((void)((*___dst__R2sS_1).__a__i_1=__a__i_1) /* ?{} */);
57    ((void)((*___dst__R2sS_1).__b__i_1=__b__i_1) /* ?{} */);
58    ((void)((*___dst__R2sS_1).__c__i_1=__c__i_1) /* ?{} */);
59}
60__extension__ union U {
61    __extension__ signed int __a__i_1;
62    __extension__ signed int __b__i_1;
63    __extension__ signed int __c__i_1;
64};
65static inline void ___constructor__F_R2uU_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1){
66}
67static inline void ___constructor__F_R2uU2uU_autogen___1(union U *___dst__R2uU_1, union U ___src__2uU_1){
68    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U )));
69}
70static inline void ___destructor__F_R2uU_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1){
71}
72static inline union U ___operator_assign__F2uU_R2uU2uU_autogen___1(union U *___dst__R2uU_1, union U ___src__2uU_1){
73    union U ___ret__2uU_1;
74    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U )));
75    ((void)___constructor__F_R2uU2uU_autogen___1((&___ret__2uU_1), ___src__2uU_1));
76    return ___ret__2uU_1;
77}
78static inline void ___constructor__F_R2uUi_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1, signed int __src__i_1){
79    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&__src__i_1)), sizeof(signed int )));
80}
81__extension__ enum E {
82    __R__C2eE_1,
83    __G__C2eE_1,
84    __B__C2eE_1,
85};
86__extension__ signed int __f__Fi___1();
87__extension__ signed int i;
88__extension__ signed int j;
89__extension__ signed int __fred__Fi_i__1(signed int __p__i_1){
90    __attribute__ ((unused)) signed int ___retval_fred__i_1;
91    __extension__ struct S {
92        __extension__ signed int __a__i_2;
93        __extension__ signed int __b__i_2;
94        __extension__ signed int __c__i_2;
95        __extension__ signed int *__x__Pi_2;
96        __extension__ signed int *__y__Pi_2;
97        __extension__ signed int *__z__Pi_2;
98    };
99    inline void ___constructor__F_R2sS_autogen___2(struct S *___dst__R2sS_2){
100        ((void)((*___dst__R2sS_2).__a__i_2) /* ?{} */);
101        ((void)((*___dst__R2sS_2).__b__i_2) /* ?{} */);
102        ((void)((*___dst__R2sS_2).__c__i_2) /* ?{} */);
103        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ?{} */);
104        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
105        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
106    }
107    inline void ___constructor__F_R2sS2sS_autogen___2(struct S *___dst__R2sS_2, struct S ___src__2sS_2){
108        ((void)((*___dst__R2sS_2).__a__i_2=___src__2sS_2.__a__i_2) /* ?{} */);
109        ((void)((*___dst__R2sS_2).__b__i_2=___src__2sS_2.__b__i_2) /* ?{} */);
110        ((void)((*___dst__R2sS_2).__c__i_2=___src__2sS_2.__c__i_2) /* ?{} */);
111        ((void)((*___dst__R2sS_2).__x__Pi_2=___src__2sS_2.__x__Pi_2) /* ?{} */);
112        ((void)((*___dst__R2sS_2).__y__Pi_2=___src__2sS_2.__y__Pi_2) /* ?{} */);
113        ((void)((*___dst__R2sS_2).__z__Pi_2=___src__2sS_2.__z__Pi_2) /* ?{} */);
114    }
115    inline void ___destructor__F_R2sS_autogen___2(struct S *___dst__R2sS_2){
116        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ^?{} */);
117        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ^?{} */);
118        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ^?{} */);
119        ((void)((*___dst__R2sS_2).__c__i_2) /* ^?{} */);
120        ((void)((*___dst__R2sS_2).__b__i_2) /* ^?{} */);
121        ((void)((*___dst__R2sS_2).__a__i_2) /* ^?{} */);
122    }
123    inline struct S ___operator_assign__F2sS_R2sS2sS_autogen___2(struct S *___dst__R2sS_2, struct S ___src__2sS_2){
124        struct S ___ret__2sS_2;
125        ((void)((*___dst__R2sS_2).__a__i_2=___src__2sS_2.__a__i_2));
126        ((void)((*___dst__R2sS_2).__b__i_2=___src__2sS_2.__b__i_2));
127        ((void)((*___dst__R2sS_2).__c__i_2=___src__2sS_2.__c__i_2));
128        ((void)((*___dst__R2sS_2).__x__Pi_2=___src__2sS_2.__x__Pi_2));
129        ((void)((*___dst__R2sS_2).__y__Pi_2=___src__2sS_2.__y__Pi_2));
130        ((void)((*___dst__R2sS_2).__z__Pi_2=___src__2sS_2.__z__Pi_2));
131        ((void)___constructor__F_R2sS2sS_autogen___2((&___ret__2sS_2), ___src__2sS_2));
132        return ___ret__2sS_2;
133    }
134    inline void ___constructor__F_R2sSi_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2){
135        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
136        ((void)((*___dst__R2sS_2).__b__i_2) /* ?{} */);
137        ((void)((*___dst__R2sS_2).__c__i_2) /* ?{} */);
138        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ?{} */);
139        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
140        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
141    }
142    inline void ___constructor__F_R2sSii_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2, signed int __b__i_2){
143        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
144        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
145        ((void)((*___dst__R2sS_2).__c__i_2) /* ?{} */);
146        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ?{} */);
147        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
148        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
149    }
150    inline void ___constructor__F_R2sSiii_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2, signed int __b__i_2, signed int __c__i_2){
151        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
152        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
153        ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */);
154        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ?{} */);
155        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
156        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
157    }
158    inline void ___constructor__F_R2sSiiiPi_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2, signed int __b__i_2, signed int __c__i_2, signed int *__x__Pi_2){
159        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
160        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
161        ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */);
162        ((void)((*___dst__R2sS_2).__x__Pi_2=__x__Pi_2) /* ?{} */);
163        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
164        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
165    }
166    inline void ___constructor__F_R2sSiiiPiPi_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2, signed int __b__i_2, signed int __c__i_2, signed int *__x__Pi_2, signed int *__y__Pi_2){
167        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
168        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
169        ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */);
170        ((void)((*___dst__R2sS_2).__x__Pi_2=__x__Pi_2) /* ?{} */);
171        ((void)((*___dst__R2sS_2).__y__Pi_2=__y__Pi_2) /* ?{} */);
172        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
173    }
174    inline void ___constructor__F_R2sSiiiPiPiPi_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2, signed int __b__i_2, signed int __c__i_2, signed int *__x__Pi_2, signed int *__y__Pi_2, signed int *__z__Pi_2){
175        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
176        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
177        ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */);
178        ((void)((*___dst__R2sS_2).__x__Pi_2=__x__Pi_2) /* ?{} */);
179        ((void)((*___dst__R2sS_2).__y__Pi_2=__y__Pi_2) /* ?{} */);
180        ((void)((*___dst__R2sS_2).__z__Pi_2=__z__Pi_2) /* ?{} */);
181    }
182    signed int __i__i_2 = (__extension__ __a__i_1+__extension__ 3);
183    ((void)__extension__ 3);
184    ((void)__extension__ __a__i_1);
185    __extension__ signed int __a__i_2;
186    __extension__ signed int __b__i_2;
187    __extension__ signed int __c__i_2;
188    ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2)));
189    signed int _tmp_cp_ret0;
190    ((void)(((void)(_tmp_cp_ret0=__extension__ __fred__Fi_i__1(3))) , _tmp_cp_ret0));
191    ((void)(_tmp_cp_ret0) /* ^?{} */);
192    __extension__ signed int __mary__Fi_i__2(signed int __p__i_2){
193        __attribute__ ((unused)) signed int ___retval_mary__i_2;
194    }
195    ((void)__extension__ sizeof(3));
196    ((void)__extension__ (((signed int )(3!=((signed int )0))) || ((signed int )(4!=((signed int )0)))));
197    ((void)__extension__ __alignof__(__extension__ __a__i_2));
198    ((void)(((signed int )(__extension__ __a__i_2!=((signed int )0))) || ((signed int )((((signed int )(__extension__ __b__i_2!=((signed int )0))) && ((signed int )(__extension__ __c__i_2!=((signed int )0))))!=((signed int )0)))));
199    ((void)(((signed int )((__extension__ __a__i_2>__extension__ __b__i_2)!=((signed int )0))) ? __extension__ __c__i_2 : __extension__ __c__i_2));
200    ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2)));
201    ((void)(((void)(((void)__extension__ __a__i_2) , __extension__ __b__i_2)) , __extension__ __c__i_2));
202}
Note: See TracBrowser for help on using the repository browser.