source: src/tests/.expect/32/gccExtensions.txt@ 2175062

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 with_gc
Last change on this file since 2175062 was 2175062, checked in by Rob Schluntz <rschlunt@…>, 9 years ago

fix 32 bit tests

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