source: src/tests/.expect/64/gccExtensions.txt@ 186fd86

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new stuck-waitfor-destruct with_gc
Last change on this file since 186fd86 was 1ba88a0, checked in by Rob Schluntz <rschlunt@…>, 10 years ago

implement implicit ctor/dtor deletion, track managed types when inserting ConstructorInit nodes, remove fallbackInit case, update tests

  • Property mode set to 100644
File size: 7.8 KB
Line 
1extern void *malloc(long 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, ...);
7extern int __x__i_1;
8int main(int __argc__i_1, const char **__argv__PPCc_1){
9 asm ( "nop" : : : );
10 asm ( "nop" : : : );
11 asm ( "nop" : : : );
12 static int __y__i_2;
13 static int *__z__Pi_2;
14 int __src__i_2;
15 int __dst__i_2;
16 asm volatile ( "mov %1, %0\n\tadd $1, %0" : : : );
17 asm volatile ( "mov %1, %0\n\tadd $1, %0" : "=r" ( __dst__i_2 ) : : );
18 asm volatile ( "mov %1, %0\n\tadd $1, %0" : "=r" ( __dst__i_2 ) : "r" ( __src__i_2 ) : );
19 asm ( "mov %1, %0\n\tadd $1, %0" : "=r" ( __dst__i_2 ), "=r" ( __src__i_2 ) : [ __src__i_2 ] "r" ( __dst__i_2 ) : "r0" );
20 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 );
21 double _Complex __c1__Xd_2;
22 double _Complex __c2__Xd_2;
23 const int __i1__Ci_2;
24 const int __i2__Ci_2;
25 const int __i3__Ci_2;
26 inline int __f1__Fi___2(){
27 }
28 inline int __f2__Fi___2(){
29 }
30 int __s1__i_2;
31 int __s2__i_2;
32 volatile int __v1__Vi_2;
33 volatile int __v2__Vi_2;
34 int __t1___2;
35 int __t2___2;
36 __extension__ const int __ex__Ci_2;
37 struct S {
38 __extension__ int __a__i_2;
39 __extension__ int __b__i_2;
40 __extension__ int __c__i_2;
41 };
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 inline void ___constructor__F_P2sS_autogen___2(struct S *___dst__P2sS_2){
49 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))) /* ?{} */);
50 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))) /* ?{} */);
51 ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))) /* ?{} */);
52 }
53 inline void ___constructor__F_P2sS2sS_autogen___2(struct S *___dst__P2sS_2, struct S ___src__2sS_2){
54 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))=___src__2sS_2.__a__i_2) /* ?{} */);
55 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))=___src__2sS_2.__b__i_2) /* ?{} */);
56 ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))=___src__2sS_2.__c__i_2) /* ?{} */);
57 }
58 inline void ___destructor__F_P2sS_autogen___2(struct S *___dst__P2sS_2){
59 ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))) /* ^?{} */);
60 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))) /* ^?{} */);
61 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))) /* ^?{} */);
62 }
63 inline void ___constructor__F_P2sSi_autogen___2(struct S *___dst__P2sS_2, int __a__i_2){
64 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))=__a__i_2) /* ?{} */);
65 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))) /* ?{} */);
66 ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))) /* ?{} */);
67 }
68 inline void ___constructor__F_P2sSii_autogen___2(struct S *___dst__P2sS_2, int __a__i_2, int __b__i_2){
69 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))=__a__i_2) /* ?{} */);
70 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))=__b__i_2) /* ?{} */);
71 ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))) /* ?{} */);
72 }
73 inline void ___constructor__F_P2sSiii_autogen___2(struct S *___dst__P2sS_2, int __a__i_2, int __b__i_2, int __c__i_2){
74 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))=__a__i_2) /* ?{} */);
75 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))=__b__i_2) /* ?{} */);
76 ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))=__c__i_2) /* ?{} */);
77 }
78 int __i__i_2 = ((int )__extension__ 3);
79 __extension__ int __a__i_2;
80 __extension__ int __b__i_2;
81 __extension__ int __c__i_2;
82 ((void)((__extension__ __a__i_2 , __extension__ __b__i_2) , __extension__ __c__i_2));
83 ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2)));
84 ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2)));
85 int __a1__i_2;
86 const int __a2__Ci_2;
87 static const int __a3__Ci_2;
88 static const int __a4__Ci_2;
89 static const int __a5__Ci_2;
90 static const int __a6__Ci_2;
91 static const int __a7__Ci_2;
92 int *__p1__Pi_2;
93 int *__p2__Pi_2;
94 struct s1;
95 struct s2 {
96 int __i__i_2;
97 };
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 inline void ___constructor__F_P3ss2_autogen___2(struct s2 *___dst__P3ss2_2){
103 ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))) /* ?{} */);
104 }
105 inline void ___constructor__F_P3ss23ss2_autogen___2(struct s2 *___dst__P3ss2_2, struct s2 ___src__3ss2_2){
106 ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))=___src__3ss2_2.__i__i_2) /* ?{} */);
107 }
108 inline void ___destructor__F_P3ss2_autogen___2(struct s2 *___dst__P3ss2_2){
109 ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))) /* ^?{} */);
110 }
111 inline void ___constructor__F_P3ss2i_autogen___2(struct s2 *___dst__P3ss2_2, int __i__i_2){
112 ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))=__i__i_2) /* ?{} */);
113 }
114 struct s3 {
115 int __i__i_2;
116 };
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 inline void ___constructor__F_P3ss3_autogen___2(struct s3 *___dst__P3ss3_2){
122 ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))) /* ?{} */);
123 }
124 inline void ___constructor__F_P3ss33ss3_autogen___2(struct s3 *___dst__P3ss3_2, struct s3 ___src__3ss3_2){
125 ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))=___src__3ss3_2.__i__i_2) /* ?{} */);
126 }
127 inline void ___destructor__F_P3ss3_autogen___2(struct s3 *___dst__P3ss3_2){
128 ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))) /* ^?{} */);
129 }
130 inline void ___constructor__F_P3ss3i_autogen___2(struct s3 *___dst__P3ss3_2, int __i__i_2){
131 ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))=__i__i_2) /* ?{} */);
132 }
133 struct s3 __x1__3ss3_2;
134 struct s3 __y1__3ss3_2;
135 struct s4 {
136 int __i__i_2;
137 };
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 inline void ___constructor__F_P3ss4_autogen___2(struct s4 *___dst__P3ss4_2){
143 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))) /* ?{} */);
144 }
145 inline void ___constructor__F_P3ss43ss4_autogen___2(struct s4 *___dst__P3ss4_2, struct s4 ___src__3ss4_2){
146 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))=___src__3ss4_2.__i__i_2) /* ?{} */);
147 }
148 inline void ___destructor__F_P3ss4_autogen___2(struct s4 *___dst__P3ss4_2){
149 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))) /* ^?{} */);
150 }
151 inline void ___constructor__F_P3ss4i_autogen___2(struct s4 *___dst__P3ss4_2, int __i__i_2){
152 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))=__i__i_2) /* ?{} */);
153 }
154 struct s4 __x2__3ss4_2;
155 struct s4 __y2__3ss4_2;
156 int __m1__A0i_2[((long unsigned int )10)];
157 int __m2__A0A0i_2[((long unsigned int )10)][((long unsigned int )10)];
158 int __m3__A0A0i_2[((long unsigned int )10)][((long unsigned int )10)];
159 int _retVal0 = { 0 };
160 ((void)(_retVal0=0) /* ?{} */);
161 return ((int )_retVal0);
162}
Note: See TracBrowser for help on using the repository browser.