source: src/tests/.expect/64/gccExtensions.txt@ 8c97ee7

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 8c97ee7 was f1e80d8, checked in by Rob Schluntz <rschlunt@…>, 8 years ago

update tests to include unused attribute

  • Property mode set to 100644
File size: 9.9 KB
RevLine 
[c0aa336]1__attribute__ ((__nothrow__,__leaf__,__malloc__)) extern void *malloc(long unsigned int __size);
[1ab7d3fe]2__attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr);
[c0aa336]3__attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void abort(void);
4__attribute__ ((__nothrow__,__leaf__,__nonnull__(1))) extern int atexit(void (*__func)(void));
5__attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void exit(int __status);
[6e4b913]6extern int printf(const char *__restrict __format, ...);
[58dd019]7extern int __x__i_1 asm ( "xx" );
[0270824]8int __main__Fi_iPPCc__1(int __argc__i_1, const char **__argv__PPCc_1){
[f1e80d8]9 __attribute__ ((unused)) int ___retval_main__i_1;
[8986782]10 asm ( "nop" : : : );
11 asm ( "nop" : : : );
12 asm ( "nop" : : : );
[58dd019]13 static int __y__i_2 asm ( "yy" );
14 static int *__z__Pi_2 asm ( "zz" );
[777bfcf]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" );
[e82aa9df]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 );
[8986782]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;
[926af74]27 inline int __f1__Fi___2(){
[f1e80d8]28 __attribute__ ((unused)) int ___retval_f1__i_2;
[926af74]29 }
30 inline int __f2__Fi___2(){
[f1e80d8]31 __attribute__ ((unused)) int ___retval_f2__i_2;
[926af74]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;
[8986782]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){
[ed9ecda]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)))) /* ?{} */);
[8986782]49 }
50 inline void ___constructor__F_P2sS2sS_autogen___2(struct S *___dst__P2sS_2, struct S ___src__2sS_2){
[ed9ecda]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) /* ?{} */);
[8986782]54 }
55 inline void ___destructor__F_P2sS_autogen___2(struct S *___dst__P2sS_2){
[ed9ecda]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)))) /* ^?{} */);
[8986782]59 }
[9facf3b]60 inline struct S ___operator_assign__F2sS_P2sS2sS_autogen___2(struct S *___dst__P2sS_2, struct S ___src__2sS_2){
[6a4f3d4]61 struct S ___ret__2sS_2;
[9facf3b]62 ((void)((*___dst__P2sS_2).__a__i_2=___src__2sS_2.__a__i_2));
63 ((void)((*___dst__P2sS_2).__b__i_2=___src__2sS_2.__b__i_2));
64 ((void)((*___dst__P2sS_2).__c__i_2=___src__2sS_2.__c__i_2));
[6a4f3d4]65 ((void)___constructor__F_P2sS2sS_autogen___2((&___ret__2sS_2), ___src__2sS_2));
66 return ((struct S )___ret__2sS_2);
[9facf3b]67 }
[8986782]68 inline void ___constructor__F_P2sSi_autogen___2(struct S *___dst__P2sS_2, int __a__i_2){
[ed9ecda]69 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))=__a__i_2) /* ?{} */);
70 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))) /* ?{} */);
71 ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))) /* ?{} */);
[8986782]72 }
73 inline void ___constructor__F_P2sSii_autogen___2(struct S *___dst__P2sS_2, int __a__i_2, int __b__i_2){
[ed9ecda]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)))) /* ?{} */);
[8986782]77 }
78 inline void ___constructor__F_P2sSiii_autogen___2(struct S *___dst__P2sS_2, int __a__i_2, int __b__i_2, int __c__i_2){
[ed9ecda]79 ((void)((*((int *)(&(*___dst__P2sS_2).__a__i_2)))=__a__i_2) /* ?{} */);
80 ((void)((*((int *)(&(*___dst__P2sS_2).__b__i_2)))=__b__i_2) /* ?{} */);
81 ((void)((*((int *)(&(*___dst__P2sS_2).__c__i_2)))=__c__i_2) /* ?{} */);
[8986782]82 }
[1ba88a0]83 int __i__i_2 = ((int )__extension__ 3);
[8986782]84 __extension__ int __a__i_2;
85 __extension__ int __b__i_2;
86 __extension__ int __c__i_2;
87 ((void)((__extension__ __a__i_2 , __extension__ __b__i_2) , __extension__ __c__i_2));
88 ((void)(__extension__ __a__i_2=(__extension__ __b__i_2+__extension__ __c__i_2)));
89 ((void)(__extension__ __a__i_2=__extension__ (__extension__ __b__i_2+__extension__ __c__i_2)));
90 int __a1__i_2;
91 const int __a2__Ci_2;
92 static const int __a3__Ci_2;
93 static const int __a4__Ci_2;
94 static const int __a5__Ci_2;
95 static const int __a6__Ci_2;
96 static const int __a7__Ci_2;
97 int *__p1__Pi_2;
98 int *__p2__Pi_2;
99 struct s1;
100 struct s2 {
101 int __i__i_2;
102 };
103 inline void ___constructor__F_P3ss2_autogen___2(struct s2 *___dst__P3ss2_2){
[ed9ecda]104 ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))) /* ?{} */);
[8986782]105 }
106 inline void ___constructor__F_P3ss23ss2_autogen___2(struct s2 *___dst__P3ss2_2, struct s2 ___src__3ss2_2){
[ed9ecda]107 ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))=___src__3ss2_2.__i__i_2) /* ?{} */);
[8986782]108 }
109 inline void ___destructor__F_P3ss2_autogen___2(struct s2 *___dst__P3ss2_2){
[ed9ecda]110 ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))) /* ^?{} */);
[8986782]111 }
[9facf3b]112 inline struct s2 ___operator_assign__F3ss2_P3ss23ss2_autogen___2(struct s2 *___dst__P3ss2_2, struct s2 ___src__3ss2_2){
[6a4f3d4]113 struct s2 ___ret__3ss2_2;
[9facf3b]114 ((void)((*___dst__P3ss2_2).__i__i_2=___src__3ss2_2.__i__i_2));
[6a4f3d4]115 ((void)___constructor__F_P3ss23ss2_autogen___2((&___ret__3ss2_2), ___src__3ss2_2));
116 return ((struct s2 )___ret__3ss2_2);
[9facf3b]117 }
[8986782]118 inline void ___constructor__F_P3ss2i_autogen___2(struct s2 *___dst__P3ss2_2, int __i__i_2){
[ed9ecda]119 ((void)((*((int *)(&(*___dst__P3ss2_2).__i__i_2)))=__i__i_2) /* ?{} */);
[8986782]120 }
121 struct s3 {
122 int __i__i_2;
123 };
124 inline void ___constructor__F_P3ss3_autogen___2(struct s3 *___dst__P3ss3_2){
[ed9ecda]125 ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))) /* ?{} */);
[8986782]126 }
127 inline void ___constructor__F_P3ss33ss3_autogen___2(struct s3 *___dst__P3ss3_2, struct s3 ___src__3ss3_2){
[ed9ecda]128 ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))=___src__3ss3_2.__i__i_2) /* ?{} */);
[8986782]129 }
130 inline void ___destructor__F_P3ss3_autogen___2(struct s3 *___dst__P3ss3_2){
[ed9ecda]131 ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))) /* ^?{} */);
[8986782]132 }
[9facf3b]133 inline struct s3 ___operator_assign__F3ss3_P3ss33ss3_autogen___2(struct s3 *___dst__P3ss3_2, struct s3 ___src__3ss3_2){
[6a4f3d4]134 struct s3 ___ret__3ss3_2;
[9facf3b]135 ((void)((*___dst__P3ss3_2).__i__i_2=___src__3ss3_2.__i__i_2));
[6a4f3d4]136 ((void)___constructor__F_P3ss33ss3_autogen___2((&___ret__3ss3_2), ___src__3ss3_2));
137 return ((struct s3 )___ret__3ss3_2);
[9facf3b]138 }
[8986782]139 inline void ___constructor__F_P3ss3i_autogen___2(struct s3 *___dst__P3ss3_2, int __i__i_2){
[ed9ecda]140 ((void)((*((int *)(&(*___dst__P3ss3_2).__i__i_2)))=__i__i_2) /* ?{} */);
[8986782]141 }
142 struct s3 __x1__3ss3_2;
143 struct s3 __y1__3ss3_2;
144 struct s4 {
145 int __i__i_2;
146 };
147 inline void ___constructor__F_P3ss4_autogen___2(struct s4 *___dst__P3ss4_2){
[ed9ecda]148 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))) /* ?{} */);
[8986782]149 }
150 inline void ___constructor__F_P3ss43ss4_autogen___2(struct s4 *___dst__P3ss4_2, struct s4 ___src__3ss4_2){
[ed9ecda]151 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))=___src__3ss4_2.__i__i_2) /* ?{} */);
[8986782]152 }
153 inline void ___destructor__F_P3ss4_autogen___2(struct s4 *___dst__P3ss4_2){
[ed9ecda]154 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))) /* ^?{} */);
[8986782]155 }
[9facf3b]156 inline struct s4 ___operator_assign__F3ss4_P3ss43ss4_autogen___2(struct s4 *___dst__P3ss4_2, struct s4 ___src__3ss4_2){
[6a4f3d4]157 struct s4 ___ret__3ss4_2;
[9facf3b]158 ((void)((*___dst__P3ss4_2).__i__i_2=___src__3ss4_2.__i__i_2));
[6a4f3d4]159 ((void)___constructor__F_P3ss43ss4_autogen___2((&___ret__3ss4_2), ___src__3ss4_2));
160 return ((struct s4 )___ret__3ss4_2);
[9facf3b]161 }
[8986782]162 inline void ___constructor__F_P3ss4i_autogen___2(struct s4 *___dst__P3ss4_2, int __i__i_2){
[ed9ecda]163 ((void)((*((int *)(&(*___dst__P3ss4_2).__i__i_2)))=__i__i_2) /* ?{} */);
[8986782]164 }
165 struct s4 __x2__3ss4_2;
166 struct s4 __y2__3ss4_2;
167 int __m1__A0i_2[((long unsigned int )10)];
168 int __m2__A0A0i_2[((long unsigned int )10)][((long unsigned int )10)];
169 int __m3__A0A0i_2[((long unsigned int )10)][((long unsigned int )10)];
[66f8528]170 ((void)(___retval_main__i_1=((int )0)) /* ?{} */);
[9facf3b]171 return ((int )___retval_main__i_1);
[0270824]172 ((void)(___retval_main__i_1=0) /* ?{} */);
173 return ((int )___retval_main__i_1);
[8986782]174}
[1267fb1]175static inline int invoke_main(int argc, char* argv[], char* envp[]) { (void)argc; (void)argv; (void)envp; return __main__Fi_iPPCc__1(argc, argv); }
[c0aa336]176__attribute__ ((__nothrow__,__leaf__,__malloc__)) extern void *malloc(long unsigned int __size);
[1ab7d3fe]177__attribute__ ((__nothrow__,__leaf__)) extern void free(void *__ptr);
[c0aa336]178__attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void abort(void);
179__attribute__ ((__nothrow__,__leaf__,__nonnull__(1))) extern int atexit(void (*__func)(void));
180__attribute__ ((__nothrow__,__leaf__,__noreturn__)) extern void exit(int __status);
[13de47bc]181extern int printf(const char *__restrict __format, ...);
182static inline int invoke_main(int argc, char **argv, char **envp);
183int main(int __argc__i_1, char **__argv__PPc_1, char **__envp__PPc_1){
[f1e80d8]184 __attribute__ ((unused)) int ___retval_main__i_1;
[13de47bc]185 int _tmp_cp_ret0;
186 ((void)(___retval_main__i_1=((_tmp_cp_ret0=invoke_main(__argc__i_1, __argv__PPc_1, __envp__PPc_1)) , _tmp_cp_ret0)) /* ?{} */);
[092528b]187 ((void)((*((int *)(&_tmp_cp_ret0)))) /* ^?{} */);
[13de47bc]188 return ((int )___retval_main__i_1);
189}
Note: See TracBrowser for help on using the repository browser.