Changeset 982832e for src/tests/.expect/64/gccExtensions.txt
- Timestamp:
- Sep 13, 2017, 2:44:01 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- ba54f7d, c935c3a
- Parents:
- e3e16bc (diff), 7dc09294 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/.expect/64/gccExtensions.txt
re3e16bc r982832e 1 __attribute__ ((__nothrow__,__leaf__,__malloc__)) extern void *malloc( long unsignedint __size);1 __attribute__ ((__nothrow__,__leaf__,__malloc__)) extern void *malloc(unsigned long int __size); 2 2 __attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr); 3 3 __attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void abort(void); 4 __attribute__ ((__nothrow__,__leaf__,__nonnull__(1))) extern int atexit(void (*__func)(void));5 __attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void exit( int __status);6 extern int printf(const char *__restrict __format, ...);7 extern int __x__i_1 asm ( "xx" );8 int __main__Fi_iPPCc__1(int __argc__i_1, const char **__argv__PPCc_1){9 __attribute__ ((unused)) int ___retval_main__i_1;4 __attribute__ ((__nothrow__,__leaf__,__nonnull__(1))) extern signed int atexit(void (*__func)(void)); 5 __attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void exit(signed int __status); 6 extern signed int printf(const char *__restrict __format, ...); 7 extern signed int __x__i_1 asm ( "xx" ); 8 signed int __main__Fi_iPPCc__1(signed int __argc__i_1, const char **__argv__PPCc_1){ 9 __attribute__ ((unused)) signed int ___retval_main__i_1; 10 10 asm ( "nop" : : : ); 11 11 asm ( "nop" : : : ); 12 12 asm ( "nop" : : : ); 13 static int __y__i_2 asm ( "yy" );14 static int *__z__Pi_2 asm ( "zz" );15 int __src__i_2;16 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" );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" ); 21 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 ); 22 22 double _Complex __c1__Xd_2; 23 23 double _Complex __c2__Xd_2; 24 const int __i1__Ci_2;25 const int __i2__Ci_2;26 const int __i3__Ci_2;27 inline int __f1__Fi___2(){28 __attribute__ ((unused)) int ___retval_f1__i_2;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 29 } 30 inline int __f2__Fi___2(){31 __attribute__ ((unused)) int ___retval_f2__i_2;30 inline signed int __f2__Fi___2(){ 31 __attribute__ ((unused)) signed int ___retval_f2__i_2; 32 32 } 33 int __s1__i_2;34 int __s2__i_2;35 volatile int __v1__Vi_2;36 volatile int __v2__Vi_2;37 int __t1___2;38 int __t2___2;39 __extension__ const int __ex__Ci_2;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; 40 40 struct S { 41 __extension__ int __a__i_2;42 __extension__ int __b__i_2;43 __extension__ int __c__i_2;41 __extension__ signed int __a__i_2; 42 __extension__ signed int __b__i_2; 43 __extension__ signed int __c__i_2; 44 44 }; 45 45 inline void ___constructor__F_R2sS_autogen___2(struct S *___dst__R2sS_2){ … … 66 66 return ((struct S )___ret__2sS_2); 67 67 } 68 inline void ___constructor__F_R2sSi_autogen___2(struct S *___dst__R2sS_2, int __a__i_2){68 inline void ___constructor__F_R2sSi_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2){ 69 69 ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */); 70 70 ((void)((*___dst__R2sS_2).__b__i_2) /* ?{} */); 71 71 ((void)((*___dst__R2sS_2).__c__i_2) /* ?{} */); 72 72 } 73 inline void ___constructor__F_R2sSii_autogen___2(struct S *___dst__R2sS_2, int __a__i_2,int __b__i_2){73 inline void ___constructor__F_R2sSii_autogen___2(struct S *___dst__R2sS_2, signed int __a__i_2, signed int __b__i_2){ 74 74 ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */); 75 75 ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */); 76 76 ((void)((*___dst__R2sS_2).__c__i_2) /* ?{} */); 77 77 } 78 inline void ___constructor__F_R2sSiii_autogen___2(struct S *___dst__R2sS_2, int __a__i_2, int __b__i_2,int __c__i_2){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){ 79 79 ((void)((*___dst__R2sS_2).__a__i_2=__a__i_2) /* ?{} */); 80 80 ((void)((*___dst__R2sS_2).__b__i_2=__b__i_2) /* ?{} */); 81 81 ((void)((*___dst__R2sS_2).__c__i_2=__c__i_2) /* ?{} */); 82 82 } 83 int __i__i_2 = ((int )__extension__ 3);84 __extension__ int __a__i_2;85 __extension__ int __b__i_2;86 __extension__ int __c__i_2;83 signed int __i__i_2 = ((signed int )__extension__ 3); 84 __extension__ signed int __a__i_2; 85 __extension__ signed int __b__i_2; 86 __extension__ signed int __c__i_2; 87 87 ((void)(((void)(((void)__extension__ __a__i_2) , __extension__ __b__i_2)) , __extension__ __c__i_2)); 88 88 ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2))); 89 89 ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2))); 90 int __a1__i_2;91 const int __a2__Ci_2;92 static const int __a3__Ci_2;93 static const int __a4__Ci_2;94 static const int __a5__Ci_2;95 static const int __a6__Ci_2;96 static const int __a7__Ci_2;97 int *__p1__Pi_2;98 int *__p2__Pi_2;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; 99 99 struct s1; 100 100 struct s2 { 101 int __i__i_2;101 signed int __i__i_2; 102 102 }; 103 103 inline void ___constructor__F_R3ss2_autogen___2(struct s2 *___dst__R3ss2_2){ … … 116 116 return ((struct s2 )___ret__3ss2_2); 117 117 } 118 inline void ___constructor__F_R3ss2i_autogen___2(struct s2 *___dst__R3ss2_2, int __i__i_2){118 inline void ___constructor__F_R3ss2i_autogen___2(struct s2 *___dst__R3ss2_2, signed int __i__i_2){ 119 119 ((void)((*___dst__R3ss2_2).__i__i_2=__i__i_2) /* ?{} */); 120 120 } 121 121 struct s3 { 122 int __i__i_2;122 signed int __i__i_2; 123 123 }; 124 124 inline void ___constructor__F_R3ss3_autogen___2(struct s3 *___dst__R3ss3_2){ … … 137 137 return ((struct s3 )___ret__3ss3_2); 138 138 } 139 inline void ___constructor__F_R3ss3i_autogen___2(struct s3 *___dst__R3ss3_2, int __i__i_2){139 inline void ___constructor__F_R3ss3i_autogen___2(struct s3 *___dst__R3ss3_2, signed int __i__i_2){ 140 140 ((void)((*___dst__R3ss3_2).__i__i_2=__i__i_2) /* ?{} */); 141 141 } … … 143 143 struct s3 __y1__3ss3_2; 144 144 struct s4 { 145 int __i__i_2;145 signed int __i__i_2; 146 146 }; 147 147 inline void ___constructor__F_R3ss4_autogen___2(struct s4 *___dst__R3ss4_2){ … … 160 160 return ((struct s4 )___ret__3ss4_2); 161 161 } 162 inline void ___constructor__F_R3ss4i_autogen___2(struct s4 *___dst__R3ss4_2, int __i__i_2){162 inline void ___constructor__F_R3ss4i_autogen___2(struct s4 *___dst__R3ss4_2, signed int __i__i_2){ 163 163 ((void)((*___dst__R3ss4_2).__i__i_2=__i__i_2) /* ?{} */); 164 164 } 165 165 struct s4 __x2__3ss4_2; 166 166 struct s4 __y2__3ss4_2; 167 int __m1__A0i_2[((long unsignedint )10)];168 int __m2__A0A0i_2[((long unsigned int )10)][((long unsignedint )10)];169 int __m3__A0A0i_2[((long unsigned int )10)][((long unsignedint )10)];170 ((void)(___retval_main__i_1=(( int )0)) /* ?{} */);171 return (( int )___retval_main__i_1);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)) /* ?{} */); 171 return ((signed int )___retval_main__i_1); 172 172 ((void)(___retval_main__i_1=0) /* ?{} */); 173 return (( int )___retval_main__i_1);173 return ((signed int )___retval_main__i_1); 174 174 } 175 175 static inline int invoke_main(int argc, char* argv[], char* envp[]) { (void)argc; (void)argv; (void)envp; return __main__Fi_iPPCc__1(argc, argv); } 176 __attribute__ ((__nothrow__,__leaf__,__malloc__)) extern void *malloc( long unsignedint __size);176 __attribute__ ((__nothrow__,__leaf__,__malloc__)) extern void *malloc(unsigned long int __size); 177 177 __attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr); 178 178 __attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void abort(void); 179 __attribute__ ((__nothrow__,__leaf__,__nonnull__(1))) extern int atexit(void (*__func)(void));180 __attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void exit( int __status);181 extern int printf(const char *__restrict __format, ...);182 static inline int invoke_main(int argc, char **argv, char **envp);183 int main(int __argc__i_1, char **__argv__PPc_1, char **__envp__PPc_1){184 __attribute__ ((unused)) int ___retval_main__i_1;185 int _tmp_cp_ret0;179 __attribute__ ((__nothrow__,__leaf__,__nonnull__(1))) extern signed int atexit(void (*__func)(void)); 180 __attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void exit(signed int __status); 181 extern signed int printf(const char *__restrict __format, ...); 182 static inline signed int invoke_main(signed int argc, char **argv, char **envp); 183 signed 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; 186 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 187 ((void)(_tmp_cp_ret0) /* ^?{} */); 188 return (( int )___retval_main__i_1);188 return ((signed int )___retval_main__i_1); 189 189 }
Note: See TracChangeset
for help on using the changeset viewer.