Changeset 9facf3b for src/tests/.expect/32
- Timestamp:
- Dec 15, 2016, 1:33:23 PM (8 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:
- 5802a4f
- Parents:
- 1486116
- git-author:
- Rob Schluntz <rschlunt@…> (12/15/16 12:00:08)
- git-committer:
- Rob Schluntz <rschlunt@…> (12/15/16 13:33:23)
- Location:
- src/tests/.expect/32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/.expect/32/extension.txt
r1486116 r9facf3b 17 17 static inline void ___constructor__F_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1); 18 18 static inline void ___destructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1); 19 static inline struct S ___operator_assign__F2sS_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1){20 ((void)((*___dst__P2sS_1).__a__i_1=___src__2sS_1.__a__i_1));21 ((void)((*___dst__P2sS_1).__b__i_1=___src__2sS_1.__b__i_1));22 ((void)((*___dst__P2sS_1).__c__i_1=___src__2sS_1.__c__i_1));23 return ((struct S )___src__2sS_1);24 }25 19 static inline void ___constructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1){ 26 20 ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))) /* ?{} */); … … 37 31 ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))) /* ^?{} */); 38 32 ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))) /* ^?{} */); 33 } 34 static inline struct S ___operator_assign__F2sS_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1){ 35 ((void)((*___dst__P2sS_1).__a__i_1=___src__2sS_1.__a__i_1)); 36 ((void)((*___dst__P2sS_1).__b__i_1=___src__2sS_1.__b__i_1)); 37 ((void)((*___dst__P2sS_1).__c__i_1=___src__2sS_1.__c__i_1)); 38 return ((struct S )___src__2sS_1); 39 39 } 40 40 static inline void ___constructor__F_P2sSi_autogen___1(struct S *___dst__P2sS_1, int __a__i_1){ … … 58 58 __extension__ int __c__i_1; 59 59 }; 60 static inline union U ___operator_assign__F2uU_P2uU2uU_autogen___1(union U *___dst__P2uU_1, union U ___src__2uU_1){ 60 static inline void ___constructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){ 61 } 62 static inline void ___constructor__F_P2uU2uU_autogen___1(union U *___dst__P2uU_1, union U ___src__2uU_1){ 61 63 void *_tmp_cp_ret0; 62 64 ((void)((_tmp_cp_ret0=__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U ))) , _tmp_cp_ret0)); 63 65 ((void)(_tmp_cp_ret0) /* ^?{} */); 64 return ((union U )___src__2uU_1);65 66 } 66 static inline void ___ constructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){67 static inline void ___destructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){ 67 68 } 68 static inline void ___constructor__F_P2uU2uU_autogen___1(union U *___dst__P2uU_1, union U ___src__2uU_1){69 static inline union U ___operator_assign__F2uU_P2uU2uU_autogen___1(union U *___dst__P2uU_1, union U ___src__2uU_1){ 69 70 void *_tmp_cp_ret1; 70 71 ((void)((_tmp_cp_ret1=__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U ))) , _tmp_cp_ret1)); 71 72 ((void)(_tmp_cp_ret1) /* ^?{} */); 72 } 73 static inline void ___destructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){ 73 return ((union U )___src__2uU_1); 74 74 } 75 75 static inline void ___constructor__F_P2uUi_autogen___1(union U *___dst__P2uU_1, int __src__i_1){ … … 84 84 }; 85 85 __extension__ int __fred__Fi_i__1(int __p__i_1){ 86 int ___retval_fred__i_1; 86 87 __extension__ struct S { 87 88 __extension__ int __a__i_2; -
src/tests/.expect/32/gccExtensions.txt
r1486116 r9facf3b 7 7 extern int __x__i_1; 8 8 int main(int __argc__i_1, const char **__argv__PPCc_1){ 9 int ___retval_main__i_1; 9 10 asm ( "nop" : : : ); 10 11 asm ( "nop" : : : ); … … 25 26 const int __i3__Ci_2; 26 27 inline int __f1__Fi___2(){ 28 int ___retval_f1__i_2; 27 29 } 28 30 inline int __f2__Fi___2(){ 31 int ___retval_f2__i_2; 29 32 } 30 33 int __s1__i_2; … … 40 43 __extension__ int __c__i_2; 41 44 }; 42 inline struct S ___operator_assign__F2sS_P2sS2sS_autogen___2(struct S *___dst__P2sS_2, struct S ___src__2sS_2){43 ((void)((*___dst__P2sS_2).__a__i_2=___src__2sS_2.__a__i_2));44 ((void)((*___dst__P2sS_2).__b__i_2=___src__2sS_2.__b__i_2));45 ((void)((*___dst__P2sS_2).__c__i_2=___src__2sS_2.__c__i_2));46 return ((struct S )___src__2sS_2);47 }48 45 inline void ___constructor__F_P2sS_autogen___2(struct S *___dst__P2sS_2){ 49 46 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))) /* ?{} */); … … 60 57 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))) /* ^?{} */); 61 58 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))) /* ^?{} */); 59 } 60 inline struct S ___operator_assign__F2sS_P2sS2sS_autogen___2(struct S *___dst__P2sS_2, struct S ___src__2sS_2){ 61 ((void)((*___dst__P2sS_2).__a__i_2=___src__2sS_2.__a__i_2)); 62 ((void)((*___dst__P2sS_2).__b__i_2=___src__2sS_2.__b__i_2)); 63 ((void)((*___dst__P2sS_2).__c__i_2=___src__2sS_2.__c__i_2)); 64 return ((struct S )___src__2sS_2); 62 65 } 63 66 inline void ___constructor__F_P2sSi_autogen___2(struct S *___dst__P2sS_2, int __a__i_2){ … … 96 99 int __i__i_2; 97 100 }; 98 inline struct s2 ___operator_assign__F3ss2_P3ss23ss2_autogen___2(struct s2 *___dst__P3ss2_2, struct s2 ___src__3ss2_2){99 ((void)((*___dst__P3ss2_2).__i__i_2=___src__3ss2_2.__i__i_2));100 return ((struct s2 )___src__3ss2_2);101 }102 101 inline void ___constructor__F_P3ss2_autogen___2(struct s2 *___dst__P3ss2_2){ 103 102 ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))) /* ?{} */); … … 109 108 ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))) /* ^?{} */); 110 109 } 110 inline struct s2 ___operator_assign__F3ss2_P3ss23ss2_autogen___2(struct s2 *___dst__P3ss2_2, struct s2 ___src__3ss2_2){ 111 ((void)((*___dst__P3ss2_2).__i__i_2=___src__3ss2_2.__i__i_2)); 112 return ((struct s2 )___src__3ss2_2); 113 } 111 114 inline void ___constructor__F_P3ss2i_autogen___2(struct s2 *___dst__P3ss2_2, int __i__i_2){ 112 115 ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))=__i__i_2) /* ?{} */); … … 115 118 int __i__i_2; 116 119 }; 117 inline struct s3 ___operator_assign__F3ss3_P3ss33ss3_autogen___2(struct s3 *___dst__P3ss3_2, struct s3 ___src__3ss3_2){118 ((void)((*___dst__P3ss3_2).__i__i_2=___src__3ss3_2.__i__i_2));119 return ((struct s3 )___src__3ss3_2);120 }121 120 inline void ___constructor__F_P3ss3_autogen___2(struct s3 *___dst__P3ss3_2){ 122 121 ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))) /* ?{} */); … … 128 127 ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))) /* ^?{} */); 129 128 } 129 inline struct s3 ___operator_assign__F3ss3_P3ss33ss3_autogen___2(struct s3 *___dst__P3ss3_2, struct s3 ___src__3ss3_2){ 130 ((void)((*___dst__P3ss3_2).__i__i_2=___src__3ss3_2.__i__i_2)); 131 return ((struct s3 )___src__3ss3_2); 132 } 130 133 inline void ___constructor__F_P3ss3i_autogen___2(struct s3 *___dst__P3ss3_2, int __i__i_2){ 131 134 ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))=__i__i_2) /* ?{} */); … … 136 139 int __i__i_2; 137 140 }; 138 inline struct s4 ___operator_assign__F3ss4_P3ss43ss4_autogen___2(struct s4 *___dst__P3ss4_2, struct s4 ___src__3ss4_2){139 ((void)((*___dst__P3ss4_2).__i__i_2=___src__3ss4_2.__i__i_2));140 return ((struct s4 )___src__3ss4_2);141 }142 141 inline void ___constructor__F_P3ss4_autogen___2(struct s4 *___dst__P3ss4_2){ 143 142 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))) /* ?{} */); … … 149 148 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))) /* ^?{} */); 150 149 } 150 inline struct s4 ___operator_assign__F3ss4_P3ss43ss4_autogen___2(struct s4 *___dst__P3ss4_2, struct s4 ___src__3ss4_2){ 151 ((void)((*___dst__P3ss4_2).__i__i_2=___src__3ss4_2.__i__i_2)); 152 return ((struct s4 )___src__3ss4_2); 153 } 151 154 inline void ___constructor__F_P3ss4i_autogen___2(struct s4 *___dst__P3ss4_2, int __i__i_2){ 152 155 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))=__i__i_2) /* ?{} */); … … 157 160 int __m2__A0A0i_2[((unsigned int )10)][((unsigned int )10)]; 158 161 int __m3__A0A0i_2[((unsigned int )10)][((unsigned int )10)]; 159 int _retVal0 = { 0 }; 160 ((void)(_retVal0=0) /* ?{} */); 161 return ((int )_retVal0); 162 ((void)(___retval_main__i_1=0) /* ?{} */); 163 return ((int )___retval_main__i_1); 162 164 }
Note: See TracChangeset
for help on using the changeset viewer.