source: src/tests/.expect/32/gccExtensions.txt @ 3b8e52c

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 3b8e52c was 3b8e52c, checked in by Peter A. Buhr <pabuhr@…>, 8 years ago

more refactoring of parser code

  • Property mode set to 100644
File size: 8.9 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, ...);
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;
79    ((void)((*((int *)(&__i__i_2)))=__extension__ 3) /* ?{} */);
80    __extension__ int __a__i_2;
81    __extension__ int __b__i_2;
82    __extension__ int __c__i_2;
83    ((void)((__extension__ __a__i_2 , __extension__ __b__i_2) , __extension__ __c__i_2));
84    ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2)));
85    ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2)));
86    int __a1__i_2;
87    const int __a2__Ci_2;
88    static const int __a3__Ci_2;
89    static const int __a4__Ci_2;
90    static const int __a5__Ci_2;
91    static const int __a6__Ci_2;
92    static const int __a7__Ci_2;
93    int *__p1__Pi_2;
94    int *__p2__Pi_2;
95    struct s1;
96    struct s2 {
97        int __i__i_2;
98    };
99    inline struct s2 ___operator_assign__F3ss2_P3ss23ss2_autogen___2(struct s2 *___dst__P3ss2_2, struct s2 ___src__3ss2_2){
100        ((void)((*___dst__P3ss2_2).__i__i_2=___src__3ss2_2.__i__i_2));
101        return ((struct s2 )___src__3ss2_2);
102    }
103    inline void ___constructor__F_P3ss2_autogen___2(struct s2 *___dst__P3ss2_2){
104        ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))) /* ?{} */);
105    }
106    inline void ___constructor__F_P3ss23ss2_autogen___2(struct s2 *___dst__P3ss2_2, struct s2 ___src__3ss2_2){
107        ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))=___src__3ss2_2.__i__i_2) /* ?{} */);
108    }
109    inline void ___destructor__F_P3ss2_autogen___2(struct s2 *___dst__P3ss2_2){
110        ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))) /* ^?{} */);
111    }
112    inline void ___constructor__F_P3ss2i_autogen___2(struct s2 *___dst__P3ss2_2, int __i__i_2){
113        ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))=__i__i_2) /* ?{} */);
114    }
115    struct s3 {
116        int __i__i_2;
117    };
118    inline struct s3 ___operator_assign__F3ss3_P3ss33ss3_autogen___2(struct s3 *___dst__P3ss3_2, struct s3 ___src__3ss3_2){
119        ((void)((*___dst__P3ss3_2).__i__i_2=___src__3ss3_2.__i__i_2));
120        return ((struct s3 )___src__3ss3_2);
121    }
122    inline void ___constructor__F_P3ss3_autogen___2(struct s3 *___dst__P3ss3_2){
123        ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))) /* ?{} */);
124    }
125    inline void ___constructor__F_P3ss33ss3_autogen___2(struct s3 *___dst__P3ss3_2, struct s3 ___src__3ss3_2){
126        ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))=___src__3ss3_2.__i__i_2) /* ?{} */);
127    }
128    inline void ___destructor__F_P3ss3_autogen___2(struct s3 *___dst__P3ss3_2){
129        ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))) /* ^?{} */);
130    }
131    inline void ___constructor__F_P3ss3i_autogen___2(struct s3 *___dst__P3ss3_2, int __i__i_2){
132        ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))=__i__i_2) /* ?{} */);
133    }
134    struct s3 __x1__3ss3_2;
135    ((void)___constructor__F_P3ss3_autogen___2(((struct s3 *)(&__x1__3ss3_2))));
136    struct s3 __y1__3ss3_2;
137    ((void)___constructor__F_P3ss3_autogen___2(((struct s3 *)(&__y1__3ss3_2))));
138    struct s4 {
139        int __i__i_2;
140    };
141    inline struct s4 ___operator_assign__F3ss4_P3ss43ss4_autogen___2(struct s4 *___dst__P3ss4_2, struct s4 ___src__3ss4_2){
142        ((void)((*___dst__P3ss4_2).__i__i_2=___src__3ss4_2.__i__i_2));
143        ((void)___destructor__F_P3ss3_autogen___2(((struct s3 *)(&__y1__3ss3_2))));
144        ((void)___destructor__F_P3ss3_autogen___2(((struct s3 *)(&__x1__3ss3_2))));
145        return ((struct s4 )___src__3ss4_2);
146    }
147    inline void ___constructor__F_P3ss4_autogen___2(struct s4 *___dst__P3ss4_2){
148        ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))) /* ?{} */);
149    }
150    inline void ___constructor__F_P3ss43ss4_autogen___2(struct s4 *___dst__P3ss4_2, struct s4 ___src__3ss4_2){
151        ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))=___src__3ss4_2.__i__i_2) /* ?{} */);
152    }
153    inline void ___destructor__F_P3ss4_autogen___2(struct s4 *___dst__P3ss4_2){
154        ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))) /* ^?{} */);
155    }
156    inline void ___constructor__F_P3ss4i_autogen___2(struct s4 *___dst__P3ss4_2, int __i__i_2){
157        ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))=__i__i_2) /* ?{} */);
158    }
159    struct s4 __x2__3ss4_2;
160    ((void)___constructor__F_P3ss4_autogen___2(((struct s4 *)(&__x2__3ss4_2))));
161    struct s4 __y2__3ss4_2;
162    ((void)___constructor__F_P3ss4_autogen___2(((struct s4 *)(&__y2__3ss4_2))));
163    int __m1__A0i_2[((unsigned int )10)];
164    int __m2__A0A0i_2[((unsigned int )10)][((unsigned int )10)];
165    int __m3__A0A0i_2[((unsigned int )10)][((unsigned int )10)];
166    int _retVal0 = { 0 };
167    ((void)(_retVal0=0) /* ?{} */);
168    ((void)___destructor__F_P3ss4_autogen___2(((struct s4 *)(&__y2__3ss4_2))));
169    ((void)___destructor__F_P3ss4_autogen___2(((struct s4 *)(&__x2__3ss4_2))));
170    ((void)___destructor__F_P3ss3_autogen___2(((struct s3 *)(&__y1__3ss3_2))));
171    ((void)___destructor__F_P3ss3_autogen___2(((struct s3 *)(&__x1__3ss3_2))));
172    return ((int )_retVal0);
173    ((void)___destructor__F_P3ss4_autogen___2(((struct s4 *)(&__y2__3ss4_2))));
174    ((void)___destructor__F_P3ss4_autogen___2(((struct s4 *)(&__x2__3ss4_2))));
175    ((void)___destructor__F_P3ss3_autogen___2(((struct s3 *)(&__y1__3ss3_2))));
176    ((void)___destructor__F_P3ss3_autogen___2(((struct s3 *)(&__x1__3ss3_2))));
177}
Note: See TracBrowser for help on using the repository browser.