source: src/tests/.expect/64/gccExtensions.txt@ b1848a0

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new with_gc
Last change on this file since b1848a0 was e82aa9df, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

more refactoring of parser code

  • Property mode set to 100644
File size: 8.9 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 int __src__i_2;
14 int __dst__i_2;
15 asm volatile ( "mov %1, %0\n\tadd $1, %0" : : : );
16 asm volatile ( "mov %1, %0\n\tadd $1, %0" : "=r" ( __dst__i_2 ) : : );
17 asm volatile ( "mov %1, %0\n\tadd $1, %0" : "=r" ( __dst__i_2 ) : "r" ( __src__i_2 ) : );
18 asm ( "mov %1, %0\n\tadd $1, %0" : "=r" ( __dst__i_2 ), "=r" ( __src__i_2 ) : [ __src__i_2 ] "r" ( __dst__i_2 ) : "r0" );
19 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 );
20 double _Complex __c1__Xd_2;
21 double _Complex __c2__Xd_2;
22 const int __i1__Ci_2;
23 const int __i2__Ci_2;
24 const int __i3__Ci_2;
25 __extension__ const int __ex__Ci_2;
26 struct S {
27 __extension__ int __a__i_2;
28 __extension__ int __b__i_2;
29 __extension__ int __c__i_2;
30 };
31 inline struct S ___operator_assign__F2sS_P2sS2sS_autogen___2(struct S *___dst__P2sS_2, struct S ___src__2sS_2){
32 ((void)((*___dst__P2sS_2).__a__i_2=___src__2sS_2.__a__i_2));
33 ((void)((*___dst__P2sS_2).__b__i_2=___src__2sS_2.__b__i_2));
34 ((void)((*___dst__P2sS_2).__c__i_2=___src__2sS_2.__c__i_2));
35 return ((struct S )___src__2sS_2);
36 }
37 inline void ___constructor__F_P2sS_autogen___2(struct S *___dst__P2sS_2){
38 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))) /* ?{} */);
39 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))) /* ?{} */);
40 ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))) /* ?{} */);
41 }
42 inline void ___constructor__F_P2sS2sS_autogen___2(struct S *___dst__P2sS_2, struct S ___src__2sS_2){
43 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))=___src__2sS_2.__a__i_2) /* ?{} */);
44 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))=___src__2sS_2.__b__i_2) /* ?{} */);
45 ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))=___src__2sS_2.__c__i_2) /* ?{} */);
46 }
47 inline void ___destructor__F_P2sS_autogen___2(struct S *___dst__P2sS_2){
48 ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))) /* ^?{} */);
49 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))) /* ^?{} */);
50 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))) /* ^?{} */);
51 }
52 inline void ___constructor__F_P2sSi_autogen___2(struct S *___dst__P2sS_2, int __a__i_2){
53 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))=__a__i_2) /* ?{} */);
54 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))) /* ?{} */);
55 ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))) /* ?{} */);
56 }
57 inline void ___constructor__F_P2sSii_autogen___2(struct S *___dst__P2sS_2, int __a__i_2, int __b__i_2){
58 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))=__a__i_2) /* ?{} */);
59 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))=__b__i_2) /* ?{} */);
60 ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))) /* ?{} */);
61 }
62 inline void ___constructor__F_P2sSiii_autogen___2(struct S *___dst__P2sS_2, int __a__i_2, int __b__i_2, int __c__i_2){
63 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))=__a__i_2) /* ?{} */);
64 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))=__b__i_2) /* ?{} */);
65 ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))=__c__i_2) /* ?{} */);
66 }
67 int __i__i_2;
68 ((void)((*((int *)(&__i__i_2)))=__extension__ 3) /* ?{} */);
69 __extension__ int __a__i_2;
70 __extension__ int __b__i_2;
71 __extension__ int __c__i_2;
72 ((void)((__extension__ __a__i_2 , __extension__ __b__i_2) , __extension__ __c__i_2));
73 ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2)));
74 ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2)));
75 inline int __f1__Fi___2(){
76 }
77 inline int __f2__Fi___2(){
78 }
79 int __s1__i_2;
80 int __s2__i_2;
81 int __t1___2;
82 int __t2___2;
83 volatile int __v1__Vi_2;
84 volatile int __v2__Vi_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 ((void)___constructor__F_P3ss3_autogen___2(((struct s3 *)(&__x1__3ss3_2))));
135 struct s3 __y1__3ss3_2;
136 ((void)___constructor__F_P3ss3_autogen___2(((struct s3 *)(&__y1__3ss3_2))));
137 struct s4 {
138 int __i__i_2;
139 };
140 inline struct s4 ___operator_assign__F3ss4_P3ss43ss4_autogen___2(struct s4 *___dst__P3ss4_2, struct s4 ___src__3ss4_2){
141 ((void)((*___dst__P3ss4_2).__i__i_2=___src__3ss4_2.__i__i_2));
142 ((void)___destructor__F_P3ss3_autogen___2(((struct s3 *)(&__y1__3ss3_2))));
143 ((void)___destructor__F_P3ss3_autogen___2(((struct s3 *)(&__x1__3ss3_2))));
144 return ((struct s4 )___src__3ss4_2);
145 }
146 inline void ___constructor__F_P3ss4_autogen___2(struct s4 *___dst__P3ss4_2){
147 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))) /* ?{} */);
148 }
149 inline void ___constructor__F_P3ss43ss4_autogen___2(struct s4 *___dst__P3ss4_2, struct s4 ___src__3ss4_2){
150 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))=___src__3ss4_2.__i__i_2) /* ?{} */);
151 }
152 inline void ___destructor__F_P3ss4_autogen___2(struct s4 *___dst__P3ss4_2){
153 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))) /* ^?{} */);
154 }
155 inline void ___constructor__F_P3ss4i_autogen___2(struct s4 *___dst__P3ss4_2, int __i__i_2){
156 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))=__i__i_2) /* ?{} */);
157 }
158 struct s4 __x2__3ss4_2;
159 ((void)___constructor__F_P3ss4_autogen___2(((struct s4 *)(&__x2__3ss4_2))));
160 struct s4 __y2__3ss4_2;
161 ((void)___constructor__F_P3ss4_autogen___2(((struct s4 *)(&__y2__3ss4_2))));
162 int __m1__A0i_2[((long unsigned int )10)];
163 int __m2__A0A0i_2[((long unsigned int )10)][((long unsigned int )10)];
164 int __m3__A0A0i_2[((long unsigned int )10)][((long unsigned int )10)];
165 int _retVal0 = { 0 };
166 ((void)(_retVal0=0) /* ?{} */);
167 ((void)___destructor__F_P3ss4_autogen___2(((struct s4 *)(&__y2__3ss4_2))));
168 ((void)___destructor__F_P3ss4_autogen___2(((struct s4 *)(&__x2__3ss4_2))));
169 ((void)___destructor__F_P3ss3_autogen___2(((struct s3 *)(&__y1__3ss3_2))));
170 ((void)___destructor__F_P3ss3_autogen___2(((struct s3 *)(&__x1__3ss3_2))));
171 return ((int )_retVal0);
172 ((void)___destructor__F_P3ss4_autogen___2(((struct s4 *)(&__y2__3ss4_2))));
173 ((void)___destructor__F_P3ss4_autogen___2(((struct s4 *)(&__x2__3ss4_2))));
174 ((void)___destructor__F_P3ss3_autogen___2(((struct s3 *)(&__y1__3ss3_2))));
175 ((void)___destructor__F_P3ss3_autogen___2(((struct s3 *)(&__x1__3ss3_2))));
176}
Note: See TracBrowser for help on using the repository browser.