source: src/tests/.expect/32/extension.txt @ 5802a4f

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 5802a4f was 9facf3b, checked in by Rob Schluntz <rschlunt@…>, 8 years ago

update generation of return variables and the affected test outputs

  • Property mode set to 100644
File size: 5.6 KB
RevLine 
[917f93c5]1extern void *malloc(unsigned int __size);
[6e4b913]2extern void free(void *__ptr);
[d9b499c]3extern void abort(void);
4extern int atexit(void (*__func)(void));
5extern void exit(int __status);
[6e4b913]6extern int printf(const char *__restrict __format, ...);
[d9b499c]7__extension__ int __a__i_1;
8__extension__ int __b__i_1;
9__extension__ int __c__i_1;
10__extension__ struct S {
11    __extension__ int __a__i_1;
12    __extension__ int __b__i_1;
13    __extension__ int __c__i_1;
14};
[9f70ab57]15static inline struct S ___operator_assign__F2sS_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1);
16static inline void ___constructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1);
17static inline void ___constructor__F_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1);
18static inline void ___destructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1);
[d9b499c]19static inline void ___constructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1){
[cad355a]20    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))) /* ?{} */);
21    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))) /* ?{} */);
22    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))) /* ?{} */);
[d9b499c]23}
24static inline void ___constructor__F_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1){
[cad355a]25    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))=___src__2sS_1.__a__i_1) /* ?{} */);
26    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))=___src__2sS_1.__b__i_1) /* ?{} */);
27    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))=___src__2sS_1.__c__i_1) /* ?{} */);
[d9b499c]28}
29static inline void ___destructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1){
[cad355a]30    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))) /* ^?{} */);
31    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))) /* ^?{} */);
32    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))) /* ^?{} */);
[d9b499c]33}
[9facf3b]34static 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}
[d9b499c]40static inline void ___constructor__F_P2sSi_autogen___1(struct S *___dst__P2sS_1, int __a__i_1){
[cad355a]41    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))=__a__i_1) /* ?{} */);
42    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))) /* ?{} */);
43    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))) /* ?{} */);
[d9b499c]44}
45static inline void ___constructor__F_P2sSii_autogen___1(struct S *___dst__P2sS_1, int __a__i_1, int __b__i_1){
[cad355a]46    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))=__a__i_1) /* ?{} */);
47    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))=__b__i_1) /* ?{} */);
48    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))) /* ?{} */);
[d9b499c]49}
50static inline void ___constructor__F_P2sSiii_autogen___1(struct S *___dst__P2sS_1, int __a__i_1, int __b__i_1, int __c__i_1){
[cad355a]51    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))=__a__i_1) /* ?{} */);
52    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))=__b__i_1) /* ?{} */);
53    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))=__c__i_1) /* ?{} */);
[d9b499c]54}
55__extension__ union U {
56    __extension__ int __a__i_1;
57    __extension__ int __b__i_1;
58    __extension__ int __c__i_1;
59};
[9facf3b]60static inline void ___constructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){
61}
62static inline void ___constructor__F_P2uU2uU_autogen___1(union U *___dst__P2uU_1, union U ___src__2uU_1){
[d9b499c]63    void *_tmp_cp_ret0;
64    ((void)((_tmp_cp_ret0=__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U ))) , _tmp_cp_ret0));
65    ((void)(_tmp_cp_ret0) /* ^?{} */);
66}
[9facf3b]67static inline void ___destructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){
[d9b499c]68}
[9facf3b]69static inline union U ___operator_assign__F2uU_P2uU2uU_autogen___1(union U *___dst__P2uU_1, union U ___src__2uU_1){
[d9b499c]70    void *_tmp_cp_ret1;
71    ((void)((_tmp_cp_ret1=__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U ))) , _tmp_cp_ret1));
72    ((void)(_tmp_cp_ret1) /* ^?{} */);
[9facf3b]73    return ((union U )___src__2uU_1);
[d9b499c]74}
[0853178]75static inline void ___constructor__F_P2uUi_autogen___1(union U *___dst__P2uU_1, int __src__i_1){
76    void *_tmp_cp_ret2;
77    ((void)((_tmp_cp_ret2=__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&__src__i_1)), sizeof(int ))) , _tmp_cp_ret2));
78    ((void)(_tmp_cp_ret2) /* ^?{} */);
79}
[d9b499c]80__extension__ enum E {
81    __R__C2eE_1,
82    __G__C2eE_1,
83    __B__C2eE_1,
84};
85__extension__ int __fred__Fi_i__1(int __p__i_1){
[9facf3b]86    int ___retval_fred__i_1;
[d9b499c]87    __extension__ struct S {
88        __extension__ int __a__i_2;
89        __extension__ int __b__i_2;
90        __extension__ int __c__i_2;
91    };
[621701d]92    int __i__i_2 = ((int )(__extension__ __a__i_1+__extension__ 3));
[d9b499c]93    ((void)__extension__ 3);
94    ((void)__extension__ __a__i_1);
95    __extension__ int __a__i_2;
96    __extension__ int __b__i_2;
97    __extension__ int __c__i_2;
98    ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2)));
[0853178]99    int _tmp_cp_ret3;
100    ((void)((_tmp_cp_ret3=__extension__ __fred__Fi_i__1(3)) , _tmp_cp_ret3));
101    ((void)(_tmp_cp_ret3) /* ^?{} */);
[d9b499c]102    ((void)__extension__ sizeof(3));
103    ((void)__extension__ (((int )(3!=0)) || ((int )(4!=0))));
104    ((void)__extension__ __alignof__(__extension__ __a__i_2));
105    ((void)(((int )(__extension__ __a__i_2!=0)) || ((int )((((int )(__extension__ __b__i_2!=0)) && ((int )(__extension__ __c__i_2!=0)))!=0))));
106    ((void)(((int )((__extension__ __a__i_2>__extension__ __b__i_2)!=0)) ? __extension__ __c__i_2 : __extension__ __c__i_2));
107    ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2)));
108    ((void)((__extension__ __a__i_2 , __extension__ __b__i_2) , __extension__ __c__i_2));
109}
Note: See TracBrowser for help on using the repository browser.