source: src/tests/.expect/32/extension.txt @ 9a063c8

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerresolv-newwith_gc
Last change on this file since 9a063c8 was 9a063c8, checked in by Rob Schluntz <rschlunt@…>, 5 years ago

don't try to destruct return values from builtin functions

  • Property mode set to 100644
File size: 5.4 KB
Line 
1extern void *malloc(unsigned int __size);
2extern void free(void *__ptr);
3extern void abort(void);
4extern int atexit(void (*__func)(void));
5extern void exit(int __status);
6extern int printf(const char *__restrict __format, ...);
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};
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);
19static 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}
25static inline void ___constructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1){
26    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))) /* ?{} */);
27    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))) /* ?{} */);
28    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))) /* ?{} */);
29}
30static inline void ___constructor__F_P2sS2sS_autogen___1(struct S *___dst__P2sS_1, struct S ___src__2sS_1){
31    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))=___src__2sS_1.__a__i_1) /* ?{} */);
32    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))=___src__2sS_1.__b__i_1) /* ?{} */);
33    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))=___src__2sS_1.__c__i_1) /* ?{} */);
34}
35static inline void ___destructor__F_P2sS_autogen___1(struct S *___dst__P2sS_1){
36    ((void)((*((int *)(&(*___dst__P2sS_1).__c__i_1)))) /* ^?{} */);
37    ((void)((*((int *)(&(*___dst__P2sS_1).__b__i_1)))) /* ^?{} */);
38    ((void)((*((int *)(&(*___dst__P2sS_1).__a__i_1)))) /* ^?{} */);
39}
40static inline void ___constructor__F_P2sSi_autogen___1(struct S *___dst__P2sS_1, int __a__i_1){
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)))) /* ?{} */);
44}
45static inline void ___constructor__F_P2sSii_autogen___1(struct S *___dst__P2sS_1, int __a__i_1, int __b__i_1){
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)))) /* ?{} */);
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){
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) /* ?{} */);
54}
55__extension__ union U {
56    __extension__ int __a__i_1;
57    __extension__ int __b__i_1;
58    __extension__ int __c__i_1;
59};
60static inline union U ___operator_assign__F2uU_P2uU2uU_autogen___1(union U *___dst__P2uU_1, union U ___src__2uU_1){
61    ((void)__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U )));
62    return ((union U )___src__2uU_1);
63}
64static inline void ___constructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){
65}
66static inline void ___constructor__F_P2uU2uU_autogen___1(union U *___dst__P2uU_1, union U ___src__2uU_1){
67    ((void)__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&___src__2uU_1)), sizeof(union U )));
68    return ((void)___src__2uU_1);
69}
70static inline void ___destructor__F_P2uU_autogen___1(union U *___dst__P2uU_1){
71}
72static inline void ___constructor__F_P2uUi_autogen___1(union U *___dst__P2uU_1, int __src__i_1){
73    ((void)__builtin_memcpy(((void *)___dst__P2uU_1), ((const void *)(&__src__i_1)), sizeof(int )));
74}
75__extension__ enum E {
76    __R__C2eE_1,
77    __G__C2eE_1,
78    __B__C2eE_1,
79};
80__extension__ int __fred__Fi_i__1(int __p__i_1){
81    __extension__ struct S {
82        __extension__ int __a__i_2;
83        __extension__ int __b__i_2;
84        __extension__ int __c__i_2;
85    };
86    int __i__i_2 = ((int )(__extension__ __a__i_1+__extension__ 3));
87    ((void)__extension__ 3);
88    ((void)__extension__ __a__i_1);
89    __extension__ int __a__i_2;
90    __extension__ int __b__i_2;
91    __extension__ int __c__i_2;
92    ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2)));
93    int _tmp_cp_ret0;
94    ((void)((_tmp_cp_ret0=__extension__ __fred__Fi_i__1(3)) , _tmp_cp_ret0));
95    ((void)(_tmp_cp_ret0) /* ^?{} */);
96    ((void)__extension__ sizeof(3));
97    ((void)__extension__ (((int )(3!=((int )0))) || ((int )(4!=((int )0)))));
98    ((void)__extension__ __alignof__(__extension__ __a__i_2));
99    ((void)(((int )(__extension__ __a__i_2!=((int )0))) || ((int )((((int )(__extension__ __b__i_2!=((int )0))) && ((int )(__extension__ __c__i_2!=((int )0))))!=((int )0)))));
100    ((void)(((int )((__extension__ __a__i_2>__extension__ __b__i_2)!=((int )0))) ? __extension__ __c__i_2 : __extension__ __c__i_2));
101    ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2)));
102    ((void)((__extension__ __a__i_2 , __extension__ __b__i_2) , __extension__ __c__i_2));
103}
Note: See TracBrowser for help on using the repository browser.