source: src/tests/.expect/64/extension.txt @ 0a267c1

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 0a267c1 was 0a267c1, checked in by Rob Schluntz <rschlunt@…>, 7 years ago

Refactor autogen for UnionDecl? and update 64-bit tests

  • Property mode set to 100644
File size: 12.4 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);
66static inline void ___constructor__F_R2uU2uU_autogen___1(union U *___dst__R2uU_1, union U ___src__2uU_1);
67static inline void ___destructor__F_R2uU_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1);
68static inline union U ___operator_assign__F2uU_R2uU2uU_autogen___1(union U *___dst__R2uU_1, union U ___src__2uU_1);
69static inline void ___constructor__F_R2uUi_autogen___1(union U *___dst__R2uU_1, signed int __a__i_1);
70static inline void ___constructor__F_R2uU_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1){
71}
72static inline void ___constructor__F_R2uU2uU_autogen___1(union U *___dst__R2uU_1, union U ___src__2uU_1){
73    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U )));
74}
75static inline void ___destructor__F_R2uU_autogen___1(__attribute__ ((unused)) union U *___dst__R2uU_1){
76}
77static inline union U ___operator_assign__F2uU_R2uU2uU_autogen___1(union U *___dst__R2uU_1, union U ___src__2uU_1){
78    union U ___ret__2uU_1;
79    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U )));
80    ((void)___constructor__F_R2uU2uU_autogen___1((&___ret__2uU_1), ___src__2uU_1));
81    return ___ret__2uU_1;
82}
83static inline void ___constructor__F_R2uUi_autogen___1(union U *___dst__R2uU_1, signed int __a__i_1){
84    ((void)__builtin_memcpy(((void *)___dst__R2uU_1), ((const void *)(&__a__i_1)), sizeof(signed int )));
85}
86__extension__ enum E {
87    __R__C2eE_1,
88    __G__C2eE_1,
89    __B__C2eE_1,
90};
91__extension__ signed int __f__Fi___1();
92__extension__ signed int i;
93__extension__ signed int j;
94__extension__ signed int __fred__Fi_i__1(signed int __p__i_1){
95    __attribute__ ((unused)) signed int ___retval_fred__i_1;
96    __extension__ struct S {
97        __extension__ signed int __a__i_2;
98        __extension__ signed int __b__i_2;
99        __extension__ signed int __c__i_2;
100        __extension__ signed int *__x__Pi_2;
101        __extension__ signed int *__y__Pi_2;
102        __extension__ signed int *__z__Pi_2;
103    };
104    inline void ___constructor__F_R2sS_autogen___2(struct S *___dst__R2sS_2){
105        ((void)((*___dst__R2sS_2).__a__i_2) /* ?{} */);
106        ((void)((*___dst__R2sS_2).__b__i_2) /* ?{} */);
107        ((void)((*___dst__R2sS_2).__c__i_2) /* ?{} */);
108        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ?{} */);
109        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
110        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
111    }
112    inline void ___constructor__F_R2sS2sS_autogen___2(struct S *___dst__R2sS_2, struct S ___src__2sS_2){
113        ((void)((*___dst__R2sS_2).__a__i_2=___src__2sS_2.__a__i_2) /* ?{} */);
114        ((void)((*___dst__R2sS_2).__b__i_2=___src__2sS_2.__b__i_2) /* ?{} */);
115        ((void)((*___dst__R2sS_2).__c__i_2=___src__2sS_2.__c__i_2) /* ?{} */);
116        ((void)((*___dst__R2sS_2).__x__Pi_2=___src__2sS_2.__x__Pi_2) /* ?{} */);
117        ((void)((*___dst__R2sS_2).__y__Pi_2=___src__2sS_2.__y__Pi_2) /* ?{} */);
118        ((void)((*___dst__R2sS_2).__z__Pi_2=___src__2sS_2.__z__Pi_2) /* ?{} */);
119    }
120    inline void ___destructor__F_R2sS_autogen___2(struct S *___dst__R2sS_2){
121        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ^?{} */);
122        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ^?{} */);
123        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ^?{} */);
124        ((void)((*___dst__R2sS_2).__c__i_2) /* ^?{} */);
125        ((void)((*___dst__R2sS_2).__b__i_2) /* ^?{} */);
126        ((void)((*___dst__R2sS_2).__a__i_2) /* ^?{} */);
127    }
128    inline struct S ___operator_assign__F2sS_R2sS2sS_autogen___2(struct S *___dst__R2sS_2, struct S ___src__2sS_2){
129        struct S ___ret__2sS_2;
130        ((void)((*___dst__R2sS_2).__a__i_2=___src__2sS_2.__a__i_2));
131        ((void)((*___dst__R2sS_2).__b__i_2=___src__2sS_2.__b__i_2));
132        ((void)((*___dst__R2sS_2).__c__i_2=___src__2sS_2.__c__i_2));
133        ((void)((*___dst__R2sS_2).__x__Pi_2=___src__2sS_2.__x__Pi_2));
134        ((void)((*___dst__R2sS_2).__y__Pi_2=___src__2sS_2.__y__Pi_2));
135        ((void)((*___dst__R2sS_2).__z__Pi_2=___src__2sS_2.__z__Pi_2));
136        ((void)___constructor__F_R2sS2sS_autogen___2((&___ret__2sS_2), ___src__2sS_2));
137        return ___ret__2sS_2;
138    }
139    inline void ___constructor__F_R2sSi_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2){
140        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
141        ((void)((*___dst__R2sS_2).__b__i_2) /* ?{} */);
142        ((void)((*___dst__R2sS_2).__c__i_2) /* ?{} */);
143        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ?{} */);
144        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
145        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
146    }
147    inline void ___constructor__F_R2sSii_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2, signed int __b__i_2){
148        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
149        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
150        ((void)((*___dst__R2sS_2).__c__i_2) /* ?{} */);
151        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ?{} */);
152        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
153        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
154    }
155    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){
156        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
157        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
158        ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */);
159        ((void)((*___dst__R2sS_2).__x__Pi_2) /* ?{} */);
160        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
161        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
162    }
163    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){
164        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
165        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
166        ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */);
167        ((void)((*___dst__R2sS_2).__x__Pi_2=__x__Pi_2) /* ?{} */);
168        ((void)((*___dst__R2sS_2).__y__Pi_2) /* ?{} */);
169        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
170    }
171    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){
172        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
173        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
174        ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */);
175        ((void)((*___dst__R2sS_2).__x__Pi_2=__x__Pi_2) /* ?{} */);
176        ((void)((*___dst__R2sS_2).__y__Pi_2=__y__Pi_2) /* ?{} */);
177        ((void)((*___dst__R2sS_2).__z__Pi_2) /* ?{} */);
178    }
179    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){
180        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
181        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
182        ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */);
183        ((void)((*___dst__R2sS_2).__x__Pi_2=__x__Pi_2) /* ?{} */);
184        ((void)((*___dst__R2sS_2).__y__Pi_2=__y__Pi_2) /* ?{} */);
185        ((void)((*___dst__R2sS_2).__z__Pi_2=__z__Pi_2) /* ?{} */);
186    }
187    signed int __i__i_2 = (__extension__ __a__i_1+__extension__ 3);
188    ((void)__extension__ 3);
189    ((void)__extension__ __a__i_1);
190    __extension__ signed int __a__i_2;
191    __extension__ signed int __b__i_2;
192    __extension__ signed int __c__i_2;
193    ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2)));
194    signed int _tmp_cp_ret0;
195    ((void)(((void)(_tmp_cp_ret0=__extension__ __fred__Fi_i__1(3))) , _tmp_cp_ret0));
196    ((void)(_tmp_cp_ret0) /* ^?{} */);
197    __extension__ signed int __mary__Fi_i__2(signed int __p__i_2){
198        __attribute__ ((unused)) signed int ___retval_mary__i_2;
199    }
200    ((void)__extension__ sizeof(3));
201    ((void)__extension__ (((signed int )(3!=((signed int )0))) || ((signed int )(4!=((signed int )0)))));
202    ((void)__extension__ __alignof__(__extension__ __a__i_2));
203    ((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)))));
204    ((void)(((signed int )((__extension__ __a__i_2>__extension__ __b__i_2)!=((signed int )0))) ? __extension__ __c__i_2 : __extension__ __c__i_2));
205    ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2)));
206    ((void)(((void)(((void)__extension__ __a__i_2) , __extension__ __b__i_2)) , __extension__ __c__i_2));
207}
Note: See TracBrowser for help on using the repository browser.