source: src/tests/.expect/gccExtensions.txt@ a797e2b1

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 a797e2b1 was 8986782, checked in by Thierry Delisle <tdelisle@…>, 9 years ago

implemented gccExtensions test

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