source: src/tests/.expect/gccExtensions.x64.txt @ 1a3eab8

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

Allow builtin objects to be constructed

  • Property mode set to 100644
File size: 8.9 KB
RevLine 
[cd218e8]1extern signed int __x__i_1 asm ( "xx" );
2signed int __main__Fi_iPPCc__1(signed int __argc__i_1, const char **__argv__PPCc_1){
3    __attribute__ ((unused)) signed int ___retval_main__i_1;
[8986782]4    asm ( "nop" :  :  :  );
5    asm ( "nop" :  :  :  );
6    asm ( "nop" :  :  :  );
[cd218e8]7    static signed int __y__i_2 asm ( "yy" );
8    static signed int *__z__Pi_2 asm ( "zz" );
9    signed int __src__i_2;
10    signed int __dst__i_2;
11    asm volatile ( "mov %1, %0\n\t" "add $1, %0" :  :  :  );
12    asm volatile ( "mov %1, %0\n\t" "add $1, %0" : "=" "r" ( __dst__i_2 ) :  :  );
13    asm volatile ( "mov %1, %0\n\t" "add $1, %0" : "=r" ( __dst__i_2 ) : "r" ( __src__i_2 ) :  );
14    asm ( "mov %1, %0\n\t" "add $1, %0" : "=r" ( __dst__i_2 ), "=r" ( __src__i_2 ) : [ __src__i_2 ] "r" ( __dst__i_2 ) : "r0" );
[e82aa9df]15    L2: L1: asm goto ( "frob %%r5, %1; jc %l[L1]; mov (%2), %%r5" :  : "r" ( __src__i_2 ), "r" ( (&__dst__i_2) ) : "r5", "memory" : L1, L2 );
[8986782]16    double _Complex __c1__Xd_2;
17    double _Complex __c2__Xd_2;
[cd218e8]18    const signed int __i1__Ci_2;
19    const signed int __i2__Ci_2;
20    const signed int __i3__Ci_2;
21    inline signed int __f1__Fi___2(){
22        __attribute__ ((unused)) signed int ___retval_f1__i_2;
23    }
24    inline signed int __f2__Fi___2(){
25        __attribute__ ((unused)) signed int ___retval_f2__i_2;
26    }
27    signed int __s1__i_2;
28    signed int __s2__i_2;
29    volatile signed int __v1__Vi_2;
30    volatile signed int __v2__Vi_2;
31    signed int __t1___2;
32    signed int __t2___2;
33    __extension__ const signed int __ex__Ci_2;
[8986782]34    struct S {
[cd218e8]35        __extension__ signed int __a__i_2;
36        __extension__ signed int __b__i_2;
37        __extension__ signed int __c__i_2;
[8986782]38    };
[00e80b6]39    inline void ___constructor__F_R2sS_autogen___2(struct S *___dst__R2sS_2){
40        ((void)((*___dst__R2sS_2).__a__i_2) /* ?{} */);
41        ((void)((*___dst__R2sS_2).__b__i_2) /* ?{} */);
42        ((void)((*___dst__R2sS_2).__c__i_2) /* ?{} */);
43    }
44    inline void ___constructor__F_R2sS2sS_autogen___2(struct S *___dst__R2sS_2, struct S ___src__2sS_2){
45        ((void)((*___dst__R2sS_2).__a__i_2=___src__2sS_2.__a__i_2) /* ?{} */);
46        ((void)((*___dst__R2sS_2).__b__i_2=___src__2sS_2.__b__i_2) /* ?{} */);
47        ((void)((*___dst__R2sS_2).__c__i_2=___src__2sS_2.__c__i_2) /* ?{} */);
48    }
49    inline void ___destructor__F_R2sS_autogen___2(struct S *___dst__R2sS_2){
50        ((void)((*___dst__R2sS_2).__c__i_2) /* ^?{} */);
51        ((void)((*___dst__R2sS_2).__b__i_2) /* ^?{} */);
52        ((void)((*___dst__R2sS_2).__a__i_2) /* ^?{} */);
53    }
54    inline struct S ___operator_assign__F2sS_R2sS2sS_autogen___2(struct S *___dst__R2sS_2, struct S ___src__2sS_2){
[6a4f3d4]55        struct S ___ret__2sS_2;
[00e80b6]56        ((void)((*___dst__R2sS_2).__a__i_2=___src__2sS_2.__a__i_2));
57        ((void)((*___dst__R2sS_2).__b__i_2=___src__2sS_2.__b__i_2));
58        ((void)((*___dst__R2sS_2).__c__i_2=___src__2sS_2.__c__i_2));
[d411426d]59        ((void)___constructor__F_R2sS2sS_autogen___2((&___ret__2sS_2), (*___dst__R2sS_2)));
[ded5f07]60        return ___ret__2sS_2;
[9facf3b]61    }
[cd218e8]62    inline void ___constructor__F_R2sSi_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2){
[00e80b6]63        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
64        ((void)((*___dst__R2sS_2).__b__i_2) /* ?{} */);
65        ((void)((*___dst__R2sS_2).__c__i_2) /* ?{} */);
[8986782]66    }
[cd218e8]67    inline void ___constructor__F_R2sSii_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2, signed int __b__i_2){
[00e80b6]68        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
69        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
70        ((void)((*___dst__R2sS_2).__c__i_2) /* ?{} */);
[8986782]71    }
[cd218e8]72    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){
[00e80b6]73        ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */);
74        ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */);
75        ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */);
[8986782]76    }
[eaa2edaa]77    signed int __i__i_2 = __extension__ 3;
[cd218e8]78    __extension__ signed int __a__i_2;
79    __extension__ signed int __b__i_2;
80    __extension__ signed int __c__i_2;
[00e80b6]81    ((void)(((void)(((void)__extension__ __a__i_2) , __extension__ __b__i_2)) , __extension__ __c__i_2));
[8986782]82    ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2)));
83    ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2)));
[cd218e8]84    signed int __a1__i_2;
85    const signed int __a2__Ci_2;
86    static const signed int __a3__Ci_2;
87    static const signed int __a4__Ci_2;
88    static const signed int __a5__Ci_2;
89    static const signed int __a6__Ci_2;
90    static const signed int __a7__Ci_2;
91    signed int *__p1__Pi_2;
92    signed int *__p2__Pi_2;
[8986782]93    struct s1;
94    struct s2 {
[cd218e8]95        signed int __i__i_2;
[8986782]96    };
[00e80b6]97    inline void ___constructor__F_R3ss2_autogen___2(struct s2 *___dst__R3ss2_2){
98        ((void)((*___dst__R3ss2_2).__i__i_2) /* ?{} */);
[8986782]99    }
[00e80b6]100    inline void ___constructor__F_R3ss23ss2_autogen___2(struct s2 *___dst__R3ss2_2, struct s2 ___src__3ss2_2){
101        ((void)((*___dst__R3ss2_2).__i__i_2=___src__3ss2_2.__i__i_2) /* ?{} */);
[8986782]102    }
[00e80b6]103    inline void ___destructor__F_R3ss2_autogen___2(struct s2 *___dst__R3ss2_2){
104        ((void)((*___dst__R3ss2_2).__i__i_2) /* ^?{} */);
[8986782]105    }
[00e80b6]106    inline struct s2 ___operator_assign__F3ss2_R3ss23ss2_autogen___2(struct s2 *___dst__R3ss2_2, struct s2 ___src__3ss2_2){
[6a4f3d4]107        struct s2 ___ret__3ss2_2;
[00e80b6]108        ((void)((*___dst__R3ss2_2).__i__i_2=___src__3ss2_2.__i__i_2));
[d411426d]109        ((void)___constructor__F_R3ss23ss2_autogen___2((&___ret__3ss2_2), (*___dst__R3ss2_2)));
[ded5f07]110        return ___ret__3ss2_2;
[9facf3b]111    }
[cd218e8]112    inline void ___constructor__F_R3ss2i_autogen___2(struct s2 *___dst__R3ss2_2, signed int __i__i_2){
[00e80b6]113        ((void)((*___dst__R3ss2_2).__i__i_2=__i__i_2) /* ?{} */);
[8986782]114    }
115    struct s3 {
[cd218e8]116        signed int __i__i_2;
[8986782]117    };
[00e80b6]118    inline void ___constructor__F_R3ss3_autogen___2(struct s3 *___dst__R3ss3_2){
119        ((void)((*___dst__R3ss3_2).__i__i_2) /* ?{} */);
[8986782]120    }
[00e80b6]121    inline void ___constructor__F_R3ss33ss3_autogen___2(struct s3 *___dst__R3ss3_2, struct s3 ___src__3ss3_2){
122        ((void)((*___dst__R3ss3_2).__i__i_2=___src__3ss3_2.__i__i_2) /* ?{} */);
[8986782]123    }
[00e80b6]124    inline void ___destructor__F_R3ss3_autogen___2(struct s3 *___dst__R3ss3_2){
125        ((void)((*___dst__R3ss3_2).__i__i_2) /* ^?{} */);
[8986782]126    }
[00e80b6]127    inline struct s3 ___operator_assign__F3ss3_R3ss33ss3_autogen___2(struct s3 *___dst__R3ss3_2, struct s3 ___src__3ss3_2){
[6a4f3d4]128        struct s3 ___ret__3ss3_2;
[00e80b6]129        ((void)((*___dst__R3ss3_2).__i__i_2=___src__3ss3_2.__i__i_2));
[d411426d]130        ((void)___constructor__F_R3ss33ss3_autogen___2((&___ret__3ss3_2), (*___dst__R3ss3_2)));
[ded5f07]131        return ___ret__3ss3_2;
[9facf3b]132    }
[cd218e8]133    inline void ___constructor__F_R3ss3i_autogen___2(struct s3 *___dst__R3ss3_2, signed int __i__i_2){
[00e80b6]134        ((void)((*___dst__R3ss3_2).__i__i_2=__i__i_2) /* ?{} */);
[8986782]135    }
136    struct s3 __x1__3ss3_2;
137    struct s3 __y1__3ss3_2;
138    struct s4 {
[cd218e8]139        signed int __i__i_2;
[8986782]140    };
[00e80b6]141    inline void ___constructor__F_R3ss4_autogen___2(struct s4 *___dst__R3ss4_2){
142        ((void)((*___dst__R3ss4_2).__i__i_2) /* ?{} */);
[8986782]143    }
[00e80b6]144    inline void ___constructor__F_R3ss43ss4_autogen___2(struct s4 *___dst__R3ss4_2, struct s4 ___src__3ss4_2){
145        ((void)((*___dst__R3ss4_2).__i__i_2=___src__3ss4_2.__i__i_2) /* ?{} */);
[8986782]146    }
[00e80b6]147    inline void ___destructor__F_R3ss4_autogen___2(struct s4 *___dst__R3ss4_2){
148        ((void)((*___dst__R3ss4_2).__i__i_2) /* ^?{} */);
[8986782]149    }
[00e80b6]150    inline struct s4 ___operator_assign__F3ss4_R3ss43ss4_autogen___2(struct s4 *___dst__R3ss4_2, struct s4 ___src__3ss4_2){
[6a4f3d4]151        struct s4 ___ret__3ss4_2;
[00e80b6]152        ((void)((*___dst__R3ss4_2).__i__i_2=___src__3ss4_2.__i__i_2));
[d411426d]153        ((void)___constructor__F_R3ss43ss4_autogen___2((&___ret__3ss4_2), (*___dst__R3ss4_2)));
[ded5f07]154        return ___ret__3ss4_2;
[9facf3b]155    }
[cd218e8]156    inline void ___constructor__F_R3ss4i_autogen___2(struct s4 *___dst__R3ss4_2, signed int __i__i_2){
[00e80b6]157        ((void)((*___dst__R3ss4_2).__i__i_2=__i__i_2) /* ?{} */);
[8986782]158    }
159    struct s4 __x2__3ss4_2;
160    struct s4 __y2__3ss4_2;
[cd218e8]161    signed int __m1__A0i_2[((unsigned long int )10)];
162    signed int __m2__A0A0i_2[((unsigned long int )10)][((unsigned long int )10)];
163    signed int __m3__A0A0i_2[((unsigned long int )10)][((unsigned long int )10)];
164    ((void)(___retval_main__i_1=((signed int )0)) /* ?{} */);
[ded5f07]165    return ___retval_main__i_1;
[0270824]166    ((void)(___retval_main__i_1=0) /* ?{} */);
[ded5f07]167    return ___retval_main__i_1;
[8986782]168}
[59073fd]169static inline int invoke_main(int argc, char* argv[], char* envp[]) { (void)argc; (void)argv; (void)envp; return __main__Fi_iPPCc__1((signed int )argc, (const char **)argv); }
[cd218e8]170static inline signed int invoke_main(signed int argc, char **argv, char **envp);
171signed int main(signed int __argc__i_1, char **__argv__PPc_1, char **__envp__PPc_1){
172    __attribute__ ((unused)) signed int ___retval_main__i_1;
[df7a162]173    signed int _tmp_cp_ret2;
174    ((void)(___retval_main__i_1=(((void)(_tmp_cp_ret2=invoke_main(__argc__i_1, __argv__PPc_1, __envp__PPc_1))) , _tmp_cp_ret2)) /* ?{} */);
175    ((void)(_tmp_cp_ret2) /* ^?{} */);
[ded5f07]176    return ___retval_main__i_1;
[13de47bc]177}
Note: See TracBrowser for help on using the repository browser.