source: src/tests/.expect/64/gccExtensions.txt@ 4573e3c

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new stuck-waitfor-destruct with_gc
Last change on this file since 4573e3c was d411426d, checked in by Rob Schluntz <rschlunt@…>, 9 years ago

Update 64-bit tests for autogen return changes

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