source: src/tests/.expect/32/extension.txt @ 52c97dd

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 52c97dd was 917f93c5, checked in by Thierry Delisle <tdelisle@…>, 8 years ago

extension test now differs between 32bit and 64bit version

  • Property mode set to 100644
File size: 5.5 KB
Line 
1extern void *malloc(unsigned int __size);
2extern void free(void *__ptr);
3extern void abort(void);
4extern int atexit(void (*__func)(void));
5extern void exit(int __status);
6extern int printf(const char *__restrict __format, ...);
7__extension__ int __a__i_1;
8__extension__ int __b__i_1;
9__extension__ int __c__i_1;
10__extension__ struct S {
11    __extension__ int __a__i_1;
12    __extension__ int __b__i_1;
13    __extension__ int __c__i_1;
14};
15static inline struct S ___operator_assign__F2sS_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1){
16    ((void)((*___dst__P2sS_1).__a__i_1=___src__2sS_1.__a__i_1));
17    ((void)((*___dst__P2sS_1).__b__i_1=___src__2sS_1.__b__i_1));
18    ((void)((*___dst__P2sS_1).__c__i_1=___src__2sS_1.__c__i_1));
19    return ((struct S )___src__2sS_1);
20}
21static inline void ___constructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1){
22    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))) /* ?{} */);
23    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))) /* ?{} */);
24    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))) /* ?{} */);
25}
26static inline void ___constructor__F_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1){
27    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))=___src__2sS_1.__a__i_1) /* ?{} */);
28    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))=___src__2sS_1.__b__i_1) /* ?{} */);
29    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))=___src__2sS_1.__c__i_1) /* ?{} */);
30}
31static inline void ___destructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1){
32    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))) /* ^?{} */);
33    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))) /* ^?{} */);
34    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))) /* ^?{} */);
35}
36static inline void ___constructor__F_P2sSi_autogen___1(struct S *___dst__P2sS_1, int __a__i_1){
37    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))=__a__i_1) /* ?{} */);
38    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))) /* ?{} */);
39    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))) /* ?{} */);
40}
41static inline void ___constructor__F_P2sSii_autogen___1(struct S *___dst__P2sS_1, int __a__i_1, int __b__i_1){
42    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))=__a__i_1) /* ?{} */);
43    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))=__b__i_1) /* ?{} */);
44    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))) /* ?{} */);
45}
46static inline void ___constructor__F_P2sSiii_autogen___1(struct S *___dst__P2sS_1, int __a__i_1, int __b__i_1, int __c__i_1){
47    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))=__a__i_1) /* ?{} */);
48    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))=__b__i_1) /* ?{} */);
49    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))=__c__i_1) /* ?{} */);
50}
51__extension__ union U {
52    __extension__ int __a__i_1;
53    __extension__ int __b__i_1;
54    __extension__ int __c__i_1;
55};
56static inline union U ___operator_assign__F2uU_P2uU2uU_autogen___1(union U *___dst__P2uU_1, union U ___src__2uU_1){
57    void *_tmp_cp_ret0;
58    ((void)((_tmp_cp_ret0=__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U ))) , _tmp_cp_ret0));
59    ((void)(_tmp_cp_ret0) /* ^?{} */);
60    return ((union U )___src__2uU_1);
61}
62static inline void ___constructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){
63}
64static inline void ___constructor__F_P2uU2uU_autogen___1(union U *___dst__P2uU_1, union U ___src__2uU_1){
65    void *_tmp_cp_ret1;
66    ((void)((_tmp_cp_ret1=__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U ))) , _tmp_cp_ret1));
67    ((void)(_tmp_cp_ret1) /* ^?{} */);
68    return ((void)___src__2uU_1);
69}
70static inline void ___destructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){
71}
72__extension__ enum E {
73    __R__C2eE_1,
74    __G__C2eE_1,
75    __B__C2eE_1,
76};
77__extension__ int __fred__Fi_i__1(int __p__i_1){
78    __extension__ struct S {
79        __extension__ int __a__i_2;
80        __extension__ int __b__i_2;
81        __extension__ int __c__i_2;
82    };
83    int __i__i_2;
84    ((void)((*((int *)(&__i__i_2)))=(__extension__ __a__i_1+__extension__ 3)) /* ?{} */);
85    ((void)__extension__ 3);
86    ((void)__extension__ __a__i_1);
87    __extension__ int __a__i_2;
88    __extension__ int __b__i_2;
89    __extension__ int __c__i_2;
90    ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2)));
91    int _tmp_cp_ret2;
92    ((void)((_tmp_cp_ret2=__extension__ __fred__Fi_i__1(3)) , _tmp_cp_ret2));
93    ((void)(_tmp_cp_ret2) /* ^?{} */);
94    ((void)__extension__ sizeof(3));
95    ((void)__extension__ (((int )(3!=0)) || ((int )(4!=0))));
96    ((void)__extension__ __alignof__(__extension__ __a__i_2));
97    ((void)(((int )(__extension__ __a__i_2!=0)) || ((int )((((int )(__extension__ __b__i_2!=0)) && ((int )(__extension__ __c__i_2!=0)))!=0))));
98    ((void)(((int )((__extension__ __a__i_2>__extension__ __b__i_2)!=0)) ? __extension__ __c__i_2 : __extension__ __c__i_2));
99    ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2)));
100    ((void)((__extension__ __a__i_2 , __extension__ __b__i_2) , __extension__ __c__i_2));
101}
102__attribute__ ((constructor(),)) static void _init_extension(void){
103    int _global_init0;
104    ((void)((*((int *)(&__a__i_1)))=_global_init0) /* ?{} */);
105    int _global_init1;
106    ((void)((*((int *)(&__b__i_1)))=_global_init1) /* ?{} */);
107    int _global_init2;
108    ((void)((*((int *)(&__c__i_1)))=_global_init2) /* ?{} */);
109}
110__attribute__ ((destructor(),)) static void _destroy_extension(void){
111    ((void)((*((int *)(&__c__i_1)))) /* ^?{} */);
112    ((void)((*((int *)(&__b__i_1)))) /* ^?{} */);
113    ((void)((*((int *)(&__a__i_1)))) /* ^?{} */);
114}
Note: See TracBrowser for help on using the repository browser.