- Timestamp:
- Aug 8, 2016, 4:29:24 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, 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:
- 04273e9
- Parents:
- a465caf
- Location:
- src/tests/.expect
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/.expect/32/extension.txt
ra465caf r0853178 70 70 static inline void ___destructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){ 71 71 } 72 static inline void ___constructor__F_P2uUi_autogen___1(union U *___dst__P2uU_1, int __src__i_1){ 73 void *_tmp_cp_ret2; 74 ((void)((_tmp_cp_ret2=__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&__src__i_1)), sizeof(int ))) , _tmp_cp_ret2)); 75 ((void)(_tmp_cp_ret2) /* ^?{} */); 76 } 72 77 __extension__ enum E { 73 78 __R__C2eE_1, … … 89 94 __extension__ int __c__i_2; 90 95 ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2))); 91 int _tmp_cp_ret 2;92 ((void)((_tmp_cp_ret 2=__extension__ __fred__Fi_i__1(3)) , _tmp_cp_ret2));93 ((void)(_tmp_cp_ret 2) /* ^?{} */);96 int _tmp_cp_ret3; 97 ((void)((_tmp_cp_ret3=__extension__ __fred__Fi_i__1(3)) , _tmp_cp_ret3)); 98 ((void)(_tmp_cp_ret3) /* ^?{} */); 94 99 ((void)__extension__ sizeof(3)); 95 100 ((void)__extension__ (((int )(3!=0)) || ((int )(4!=0)))); … … 100 105 ((void)((__extension__ __a__i_2 , __extension__ __b__i_2) , __extension__ __c__i_2)); 101 106 } 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 } -
src/tests/.expect/64/extension.txt
ra465caf r0853178 70 70 static inline void ___destructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){ 71 71 } 72 static inline void ___constructor__F_P2uUi_autogen___1(union U *___dst__P2uU_1, int __src__i_1){ 73 void *_tmp_cp_ret2; 74 ((void)((_tmp_cp_ret2=__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&__src__i_1)), sizeof(int ))) , _tmp_cp_ret2)); 75 ((void)(_tmp_cp_ret2) /* ^?{} */); 76 } 72 77 __extension__ enum E { 73 78 __R__C2eE_1, … … 89 94 __extension__ int __c__i_2; 90 95 ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2))); 91 int _tmp_cp_ret 2;92 ((void)((_tmp_cp_ret 2=__extension__ __fred__Fi_i__1(3)) , _tmp_cp_ret2));93 ((void)(_tmp_cp_ret 2) /* ^?{} */);96 int _tmp_cp_ret3; 97 ((void)((_tmp_cp_ret3=__extension__ __fred__Fi_i__1(3)) , _tmp_cp_ret3)); 98 ((void)(_tmp_cp_ret3) /* ^?{} */); 94 99 ((void)__extension__ sizeof(3)); 95 100 ((void)__extension__ (((int )(3!=0)) || ((int )(4!=0))));
Note: See TracChangeset
for help on using the changeset viewer.