- Timestamp:
- Mar 8, 2024, 12:25:49 AM (9 months ago)
- Branches:
- master
- Children:
- 266732e
- Parents:
- 06601401 (diff), 169496e1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- tests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/functions.arm64.txt
r06601401 r03606ce 94 94 __attribute__ ((unused)) const signed int _X11_retval_fO5Ki_1; 95 95 } 96 void _X1fFv___1(void); 97 void _X1fFv___1(void); 96 98 signed int _X1fFi___1(void); 97 signed int _X1fFi_i__1(signed int __anonymous_object4); 99 void _X1fFv_i__1(signed int __anonymous_object4); 100 void _X1fFv_i__1(signed int __anonymous_object5); 101 signed int _X1fFi_i__1(signed int __anonymous_object6); 102 void _X1fFv___1(void){ 103 } 104 void _X2fvFv___1(void){ 105 } 98 106 signed int _X1fFi___1(void){ 99 107 __attribute__ ((unused)) signed int _X9_retval_fi_1; 100 108 } 101 signed int _X1fFi_i__1(__attribute__ ((unused)) signed int __anonymous_object5){ 109 void _X1fFv_i__1(__attribute__ ((unused)) signed int __anonymous_object7){ 110 } 111 void _X2fvFv_i__1(__attribute__ ((unused)) signed int __anonymous_object8){ 112 } 113 signed int _X1fFi_i__1(__attribute__ ((unused)) signed int __anonymous_object9){ 102 114 __attribute__ ((unused)) signed int _X9_retval_fi_1; 103 115 } 104 116 signed int _X1fFi___1(void); 117 void _X1fFv_i__1(signed int _X1xi_1); 118 void _X2fvFv_i__1(signed int _X1xi_1); 119 void _X2f2Fv_i__1(signed int _X1xi_1){ 120 } 121 void _X3fv1Fv_i__1(signed int _X1xi_1){ 122 } 105 123 struct _tuple2_ { 106 124 }; … … 127 145 }; 128 146 struct _conc__tuple2_0 _X1fFT2ii___1(void); 129 struct _conc__tuple2_0 _X1fFT2ii_ii__1(signed int __anonymous_object6, signed int _X1xi_1); 147 void _X1fFv_ii__1(signed int __anonymous_object10, signed int _X1xi_1); 148 void _X2fvFv_ii__1(signed int __anonymous_object11, signed int _X1xi_1); 149 struct _conc__tuple2_0 _X1fFT2ii_ii__1(signed int __anonymous_object12, signed int _X1xi_1); 130 150 struct _conc__tuple2_0 _X1fFT2ii___1(void){ 131 151 __attribute__ ((unused)) struct _conc__tuple2_0 _X9_retval_fT2ii_1 = { }; 132 152 } 133 struct _conc__tuple2_0 _X1fFT2ii_ii__1(__attribute__ ((unused)) signed int __anonymous_object7, signed int _X1xi_1){ 153 void _X1fFv_ii__1(__attribute__ ((unused)) signed int __anonymous_object13, signed int _X1xi_1){ 154 } 155 void _X2fvFv_ii__1(__attribute__ ((unused)) signed int __anonymous_object14, signed int _X1xi_1){ 156 } 157 struct _conc__tuple2_0 _X1fFT2ii_ii__1(__attribute__ ((unused)) signed int __anonymous_object15, signed int _X1xi_1){ 134 158 __attribute__ ((unused)) struct _conc__tuple2_0 _X9_retval_fT2ii_1 = { }; 135 159 } … … 165 189 }; 166 190 struct _conc__tuple3_1 _X1fFT3iii___1(void); 167 struct _conc__tuple3_1 _X1fFT3iii_iii__1(signed int __anonymous_object8, signed int _X1xi_1, signed int __anonymous_object9); 191 void _X1fFv_iii__1(signed int __anonymous_object16, signed int _X1xi_1, signed int __anonymous_object17); 192 void _X2fvFv_iii__1(signed int __anonymous_object18, signed int _X1xi_1, signed int __anonymous_object19); 193 struct _conc__tuple3_1 _X1fFT3iii_iii__1(signed int __anonymous_object20, signed int _X1xi_1, signed int __anonymous_object21); 168 194 struct _conc__tuple3_1 _X1fFT3iii___1(void){ 169 195 __attribute__ ((unused)) struct _conc__tuple3_1 _X9_retval_fT3iii_1 = { }; 170 196 } 171 struct _conc__tuple3_1 _X1fFT3iii_iii__1(__attribute__ ((unused)) signed int __anonymous_object10, signed int _X1xi_1, __attribute__ ((unused)) signed int __anonymous_object11){ 197 void _X1fFv_iii__1(__attribute__ ((unused)) signed int __anonymous_object22, signed int _X1xi_1, __attribute__ ((unused)) signed int __anonymous_object23){ 198 } 199 void _X2fvFv_iii__1(__attribute__ ((unused)) signed int __anonymous_object24, signed int _X1xi_1, __attribute__ ((unused)) signed int __anonymous_object25){ 200 } 201 struct _conc__tuple3_1 _X1fFT3iii_iii__1(__attribute__ ((unused)) signed int __anonymous_object26, signed int _X1xi_1, __attribute__ ((unused)) signed int __anonymous_object27){ 172 202 __attribute__ ((unused)) struct _conc__tuple3_1 _X9_retval_fT3iii_1 = { }; 173 203 } … … 179 209 }; 180 210 struct _conc__tuple3_2 _X1fFT3iiPi___1(void); 181 struct _conc__tuple3_2 _X1fFT3iiPi_iiPi__1(signed int __anonymous_object12, signed int _X1xi_1, signed int *_X1yPi_1); 211 void _X1fFv_iiPi__1(signed int __anonymous_object28, signed int _X1xi_1, signed int *_X1yPi_1); 212 void _X2fvFv_iiPi__1(signed int __anonymous_object29, signed int _X1xi_1, signed int *_X1yPi_1); 213 struct _conc__tuple3_2 _X1fFT3iiPi_iiPi__1(signed int __anonymous_object30, signed int _X1xi_1, signed int *_X1yPi_1); 182 214 struct _conc__tuple3_2 _X1fFT3iiPi___1(void){ 183 215 __attribute__ ((unused)) struct _conc__tuple3_2 _X9_retval_fT3iiPi_1 = { }; 184 216 } 185 struct _conc__tuple3_2 _X1fFT3iiPi_iiPi__1(__attribute__ ((unused)) signed int __anonymous_object13, signed int _X1xi_1, signed int *_X1yPi_1){ 217 void _X1fFv_iiPi__1(__attribute__ ((unused)) signed int __anonymous_object31, signed int _X1xi_1, signed int *_X1yPi_1){ 218 } 219 void _X2fvFv_iiPi__1(__attribute__ ((unused)) signed int __anonymous_object32, signed int _X1xi_1, signed int *_X1yPi_1){ 220 } 221 struct _conc__tuple3_2 _X1fFT3iiPi_iiPi__1(__attribute__ ((unused)) signed int __anonymous_object33, signed int _X1xi_1, signed int *_X1yPi_1){ 186 222 __attribute__ ((unused)) struct _conc__tuple3_2 _X9_retval_fT3iiPi_1 = { }; 187 223 } 188 signed int _X3f11Fi_i__1(signed int __anonymous_object 14);224 signed int _X3f11Fi_i__1(signed int __anonymous_object34); 189 225 signed int _X3f12Fi___1(void); 190 226 const double _X4bar1Fd___1(); 191 const double _X4bar2Fd_i__1(signed int __anonymous_object 15);192 const double _X4bar3Fd_d__1(double __anonymous_object 16);227 const double _X4bar2Fd_i__1(signed int __anonymous_object35); 228 const double _X4bar3Fd_d__1(double __anonymous_object36); 193 229 const double _X3fooFd___1(void); 194 const double _X3fooFd_i__1(signed int __anonymous_object 17);195 const double _X3fooFd_d__1(__attribute__ ((unused)) double __anonymous_object 18){230 const double _X3fooFd_i__1(signed int __anonymous_object37); 231 const double _X3fooFd_d__1(__attribute__ ((unused)) double __anonymous_object38){ 196 232 __attribute__ ((unused)) const double _X11_retval_fooKd_1; 197 233 { … … 245 281 246 282 } 247 struct S _X3rtnFS1S_i__1(__attribute__ ((unused)) signed int __anonymous_object 19){283 struct S _X3rtnFS1S_i__1(__attribute__ ((unused)) signed int __anonymous_object39){ 248 284 __attribute__ ((unused)) struct S _X11_retval_rtnS1S_1; 249 285 } 250 signed int _X1fFi_Fi_ii_Fi_i___1(__attribute__ ((unused)) signed int (*__anonymous_object 20)(signed int __param_0, signed int __param_1), __attribute__ ((unused)) signed int (*__anonymous_object21)(signed int __param_0)){286 signed int _X1fFi_Fi_ii_Fi_i___1(__attribute__ ((unused)) signed int (*__anonymous_object40)(signed int __param_0, signed int __param_1), __attribute__ ((unused)) signed int (*__anonymous_object41)(signed int __param_0)){ 251 287 __attribute__ ((unused)) signed int _X9_retval_fi_1; 252 288 signed int (*(*_X2pcPA0A0PA0A0i_2)[][((unsigned long int )10)])[][((unsigned long int )3)]; … … 274 310 __attribute__ ((unused)) const struct _conc__tuple2_3 _X10_retval_f5KT2PiKi_1; 275 311 } 276 signed int _X1fFi_Fi__FPi__FPPi__FPKPi__FPKPi__PiPiPPiPPiPPPiPPPiPPKPiPPKPiPKPKPiPKPKPi__1(signed int (*__anonymous_object 22)(), signed int *(*__anonymous_object23)(), signed int **(*__anonymous_object24)(), signed int *const *(*__anonymous_object25)(), signed int *const *const (*__anonymous_object26)(), signed int *__anonymous_object27, signed int __anonymous_object28[10], signed int **__anonymous_object29, signed int *__anonymous_object30[10], signed int ***__anonymous_object31, signed int **__anonymous_object32[10], signed int *const **__anonymous_object33, signed int *const *__anonymous_object34[10], signed int *const *const *__anonymous_object35, signed int *const *const __anonymous_object36[10]);277 signed int _X1fFi_Fi__FPi__FPPi__FPKPi__FPKPi__PiPiPPiPPiPPPiPPPiPPKPiPPKPiPKPKPiPKPKPi__1(__attribute__ ((unused)) signed int (*__anonymous_object 37)(), __attribute__ ((unused)) signed int *(*__anonymous_object38)(), __attribute__ ((unused)) signed int **(*__anonymous_object39)(), __attribute__ ((unused)) signed int *const *(*__anonymous_object40)(), __attribute__ ((unused)) signed int *const *const (*__anonymous_object41)(), __attribute__ ((unused)) signed int *__anonymous_object42, __attribute__ ((unused)) signed int __anonymous_object43[10], __attribute__ ((unused)) signed int **__anonymous_object44, __attribute__ ((unused)) signed int *__anonymous_object45[10], __attribute__ ((unused)) signed int ***__anonymous_object46, __attribute__ ((unused)) signed int **__anonymous_object47[10], __attribute__ ((unused)) signed int *const **__anonymous_object48, __attribute__ ((unused)) signed int *const *__anonymous_object49[10], __attribute__ ((unused)) signed int *const *const *__anonymous_object50, __attribute__ ((unused)) signed int *const *const __anonymous_object51[10]){312 signed int _X1fFi_Fi__FPi__FPPi__FPKPi__FPKPi__PiPiPPiPPiPPPiPPPiPPKPiPPKPiPKPKPiPKPKPi__1(signed int (*__anonymous_object42)(), signed int *(*__anonymous_object43)(), signed int **(*__anonymous_object44)(), signed int *const *(*__anonymous_object45)(), signed int *const *const (*__anonymous_object46)(), signed int *__anonymous_object47, signed int __anonymous_object48[10], signed int **__anonymous_object49, signed int *__anonymous_object50[10], signed int ***__anonymous_object51, signed int **__anonymous_object52[10], signed int *const **__anonymous_object53, signed int *const *__anonymous_object54[10], signed int *const *const *__anonymous_object55, signed int *const *const __anonymous_object56[10]); 313 signed int _X1fFi_Fi__FPi__FPPi__FPKPi__FPKPi__PiPiPPiPPiPPPiPPPiPPKPiPPKPiPKPKPiPKPKPi__1(__attribute__ ((unused)) signed int (*__anonymous_object57)(), __attribute__ ((unused)) signed int *(*__anonymous_object58)(), __attribute__ ((unused)) signed int **(*__anonymous_object59)(), __attribute__ ((unused)) signed int *const *(*__anonymous_object60)(), __attribute__ ((unused)) signed int *const *const (*__anonymous_object61)(), __attribute__ ((unused)) signed int *__anonymous_object62, __attribute__ ((unused)) signed int __anonymous_object63[10], __attribute__ ((unused)) signed int **__anonymous_object64, __attribute__ ((unused)) signed int *__anonymous_object65[10], __attribute__ ((unused)) signed int ***__anonymous_object66, __attribute__ ((unused)) signed int **__anonymous_object67[10], __attribute__ ((unused)) signed int *const **__anonymous_object68, __attribute__ ((unused)) signed int *const *__anonymous_object69[10], __attribute__ ((unused)) signed int *const *const *__anonymous_object70, __attribute__ ((unused)) signed int *const *const __anonymous_object71[10]){ 278 314 __attribute__ ((unused)) signed int _X9_retval_fi_1; 279 315 } -
tests/.expect/functions.x64.txt
r06601401 r03606ce 94 94 __attribute__ ((unused)) const signed int _X11_retval_fO5Ki_1; 95 95 } 96 void _X1fFv___1(void); 97 void _X1fFv___1(void); 96 98 signed int _X1fFi___1(void); 97 signed int _X1fFi_i__1(signed int __anonymous_object4); 99 void _X1fFv_i__1(signed int __anonymous_object4); 100 void _X1fFv_i__1(signed int __anonymous_object5); 101 signed int _X1fFi_i__1(signed int __anonymous_object6); 102 void _X1fFv___1(void){ 103 } 104 void _X2fvFv___1(void){ 105 } 98 106 signed int _X1fFi___1(void){ 99 107 __attribute__ ((unused)) signed int _X9_retval_fi_1; 100 108 } 101 signed int _X1fFi_i__1(__attribute__ ((unused)) signed int __anonymous_object5){ 109 void _X1fFv_i__1(__attribute__ ((unused)) signed int __anonymous_object7){ 110 } 111 void _X2fvFv_i__1(__attribute__ ((unused)) signed int __anonymous_object8){ 112 } 113 signed int _X1fFi_i__1(__attribute__ ((unused)) signed int __anonymous_object9){ 102 114 __attribute__ ((unused)) signed int _X9_retval_fi_1; 103 115 } 104 116 signed int _X1fFi___1(void); 117 void _X1fFv_i__1(signed int _X1xi_1); 118 void _X2fvFv_i__1(signed int _X1xi_1); 119 void _X2f2Fv_i__1(signed int _X1xi_1){ 120 } 121 void _X3fv1Fv_i__1(signed int _X1xi_1){ 122 } 105 123 struct _tuple2_ { 106 124 }; … … 127 145 }; 128 146 struct _conc__tuple2_0 _X1fFT2ii___1(void); 129 struct _conc__tuple2_0 _X1fFT2ii_ii__1(signed int __anonymous_object6, signed int _X1xi_1); 147 void _X1fFv_ii__1(signed int __anonymous_object10, signed int _X1xi_1); 148 void _X2fvFv_ii__1(signed int __anonymous_object11, signed int _X1xi_1); 149 struct _conc__tuple2_0 _X1fFT2ii_ii__1(signed int __anonymous_object12, signed int _X1xi_1); 130 150 struct _conc__tuple2_0 _X1fFT2ii___1(void){ 131 151 __attribute__ ((unused)) struct _conc__tuple2_0 _X9_retval_fT2ii_1 = { }; 132 152 } 133 struct _conc__tuple2_0 _X1fFT2ii_ii__1(__attribute__ ((unused)) signed int __anonymous_object7, signed int _X1xi_1){ 153 void _X1fFv_ii__1(__attribute__ ((unused)) signed int __anonymous_object13, signed int _X1xi_1){ 154 } 155 void _X2fvFv_ii__1(__attribute__ ((unused)) signed int __anonymous_object14, signed int _X1xi_1){ 156 } 157 struct _conc__tuple2_0 _X1fFT2ii_ii__1(__attribute__ ((unused)) signed int __anonymous_object15, signed int _X1xi_1){ 134 158 __attribute__ ((unused)) struct _conc__tuple2_0 _X9_retval_fT2ii_1 = { }; 135 159 } … … 165 189 }; 166 190 struct _conc__tuple3_1 _X1fFT3iii___1(void); 167 struct _conc__tuple3_1 _X1fFT3iii_iii__1(signed int __anonymous_object8, signed int _X1xi_1, signed int __anonymous_object9); 191 void _X1fFv_iii__1(signed int __anonymous_object16, signed int _X1xi_1, signed int __anonymous_object17); 192 void _X2fvFv_iii__1(signed int __anonymous_object18, signed int _X1xi_1, signed int __anonymous_object19); 193 struct _conc__tuple3_1 _X1fFT3iii_iii__1(signed int __anonymous_object20, signed int _X1xi_1, signed int __anonymous_object21); 168 194 struct _conc__tuple3_1 _X1fFT3iii___1(void){ 169 195 __attribute__ ((unused)) struct _conc__tuple3_1 _X9_retval_fT3iii_1 = { }; 170 196 } 171 struct _conc__tuple3_1 _X1fFT3iii_iii__1(__attribute__ ((unused)) signed int __anonymous_object10, signed int _X1xi_1, __attribute__ ((unused)) signed int __anonymous_object11){ 197 void _X1fFv_iii__1(__attribute__ ((unused)) signed int __anonymous_object22, signed int _X1xi_1, __attribute__ ((unused)) signed int __anonymous_object23){ 198 } 199 void _X2fvFv_iii__1(__attribute__ ((unused)) signed int __anonymous_object24, signed int _X1xi_1, __attribute__ ((unused)) signed int __anonymous_object25){ 200 } 201 struct _conc__tuple3_1 _X1fFT3iii_iii__1(__attribute__ ((unused)) signed int __anonymous_object26, signed int _X1xi_1, __attribute__ ((unused)) signed int __anonymous_object27){ 172 202 __attribute__ ((unused)) struct _conc__tuple3_1 _X9_retval_fT3iii_1 = { }; 173 203 } … … 179 209 }; 180 210 struct _conc__tuple3_2 _X1fFT3iiPi___1(void); 181 struct _conc__tuple3_2 _X1fFT3iiPi_iiPi__1(signed int __anonymous_object12, signed int _X1xi_1, signed int *_X1yPi_1); 211 void _X1fFv_iiPi__1(signed int __anonymous_object28, signed int _X1xi_1, signed int *_X1yPi_1); 212 void _X2fvFv_iiPi__1(signed int __anonymous_object29, signed int _X1xi_1, signed int *_X1yPi_1); 213 struct _conc__tuple3_2 _X1fFT3iiPi_iiPi__1(signed int __anonymous_object30, signed int _X1xi_1, signed int *_X1yPi_1); 182 214 struct _conc__tuple3_2 _X1fFT3iiPi___1(void){ 183 215 __attribute__ ((unused)) struct _conc__tuple3_2 _X9_retval_fT3iiPi_1 = { }; 184 216 } 185 struct _conc__tuple3_2 _X1fFT3iiPi_iiPi__1(__attribute__ ((unused)) signed int __anonymous_object13, signed int _X1xi_1, signed int *_X1yPi_1){ 217 void _X1fFv_iiPi__1(__attribute__ ((unused)) signed int __anonymous_object31, signed int _X1xi_1, signed int *_X1yPi_1){ 218 } 219 void _X2fvFv_iiPi__1(__attribute__ ((unused)) signed int __anonymous_object32, signed int _X1xi_1, signed int *_X1yPi_1){ 220 } 221 struct _conc__tuple3_2 _X1fFT3iiPi_iiPi__1(__attribute__ ((unused)) signed int __anonymous_object33, signed int _X1xi_1, signed int *_X1yPi_1){ 186 222 __attribute__ ((unused)) struct _conc__tuple3_2 _X9_retval_fT3iiPi_1 = { }; 187 223 } 188 signed int _X3f11Fi_i__1(signed int __anonymous_object 14);224 signed int _X3f11Fi_i__1(signed int __anonymous_object34); 189 225 signed int _X3f12Fi___1(void); 190 226 const double _X4bar1Fd___1(); 191 const double _X4bar2Fd_i__1(signed int __anonymous_object 15);192 const double _X4bar3Fd_d__1(double __anonymous_object 16);227 const double _X4bar2Fd_i__1(signed int __anonymous_object35); 228 const double _X4bar3Fd_d__1(double __anonymous_object36); 193 229 const double _X3fooFd___1(void); 194 const double _X3fooFd_i__1(signed int __anonymous_object 17);195 const double _X3fooFd_d__1(__attribute__ ((unused)) double __anonymous_object 18){230 const double _X3fooFd_i__1(signed int __anonymous_object37); 231 const double _X3fooFd_d__1(__attribute__ ((unused)) double __anonymous_object38){ 196 232 __attribute__ ((unused)) const double _X11_retval_fooKd_1; 197 233 { … … 245 281 246 282 } 247 struct S _X3rtnFS1S_i__1(__attribute__ ((unused)) signed int __anonymous_object 19){283 struct S _X3rtnFS1S_i__1(__attribute__ ((unused)) signed int __anonymous_object39){ 248 284 __attribute__ ((unused)) struct S _X11_retval_rtnS1S_1; 249 285 } 250 signed int _X1fFi_Fi_ii_Fi_i___1(__attribute__ ((unused)) signed int (*__anonymous_object 20)(signed int __param_0, signed int __param_1), __attribute__ ((unused)) signed int (*__anonymous_object21)(signed int __param_0)){286 signed int _X1fFi_Fi_ii_Fi_i___1(__attribute__ ((unused)) signed int (*__anonymous_object40)(signed int __param_0, signed int __param_1), __attribute__ ((unused)) signed int (*__anonymous_object41)(signed int __param_0)){ 251 287 __attribute__ ((unused)) signed int _X9_retval_fi_1; 252 288 signed int (*(*_X2pcPA0A0PA0A0i_2)[][((unsigned long int )10)])[][((unsigned long int )3)]; … … 274 310 __attribute__ ((unused)) const struct _conc__tuple2_3 _X10_retval_f5KT2PiKi_1; 275 311 } 276 signed int _X1fFi_Fi__FPi__FPPi__FPKPi__FPKPi__PiPiPPiPPiPPPiPPPiPPKPiPPKPiPKPKPiPKPKPi__1(signed int (*__anonymous_object 22)(), signed int *(*__anonymous_object23)(), signed int **(*__anonymous_object24)(), signed int *const *(*__anonymous_object25)(), signed int *const *const (*__anonymous_object26)(), signed int *__anonymous_object27, signed int __anonymous_object28[10], signed int **__anonymous_object29, signed int *__anonymous_object30[10], signed int ***__anonymous_object31, signed int **__anonymous_object32[10], signed int *const **__anonymous_object33, signed int *const *__anonymous_object34[10], signed int *const *const *__anonymous_object35, signed int *const *const __anonymous_object36[10]);277 signed int _X1fFi_Fi__FPi__FPPi__FPKPi__FPKPi__PiPiPPiPPiPPPiPPPiPPKPiPPKPiPKPKPiPKPKPi__1(__attribute__ ((unused)) signed int (*__anonymous_object 37)(), __attribute__ ((unused)) signed int *(*__anonymous_object38)(), __attribute__ ((unused)) signed int **(*__anonymous_object39)(), __attribute__ ((unused)) signed int *const *(*__anonymous_object40)(), __attribute__ ((unused)) signed int *const *const (*__anonymous_object41)(), __attribute__ ((unused)) signed int *__anonymous_object42, __attribute__ ((unused)) signed int __anonymous_object43[10], __attribute__ ((unused)) signed int **__anonymous_object44, __attribute__ ((unused)) signed int *__anonymous_object45[10], __attribute__ ((unused)) signed int ***__anonymous_object46, __attribute__ ((unused)) signed int **__anonymous_object47[10], __attribute__ ((unused)) signed int *const **__anonymous_object48, __attribute__ ((unused)) signed int *const *__anonymous_object49[10], __attribute__ ((unused)) signed int *const *const *__anonymous_object50, __attribute__ ((unused)) signed int *const *const __anonymous_object51[10]){312 signed int _X1fFi_Fi__FPi__FPPi__FPKPi__FPKPi__PiPiPPiPPiPPPiPPPiPPKPiPPKPiPKPKPiPKPKPi__1(signed int (*__anonymous_object42)(), signed int *(*__anonymous_object43)(), signed int **(*__anonymous_object44)(), signed int *const *(*__anonymous_object45)(), signed int *const *const (*__anonymous_object46)(), signed int *__anonymous_object47, signed int __anonymous_object48[10], signed int **__anonymous_object49, signed int *__anonymous_object50[10], signed int ***__anonymous_object51, signed int **__anonymous_object52[10], signed int *const **__anonymous_object53, signed int *const *__anonymous_object54[10], signed int *const *const *__anonymous_object55, signed int *const *const __anonymous_object56[10]); 313 signed int _X1fFi_Fi__FPi__FPPi__FPKPi__FPKPi__PiPiPPiPPiPPPiPPPiPPKPiPPKPiPKPKPiPKPKPi__1(__attribute__ ((unused)) signed int (*__anonymous_object57)(), __attribute__ ((unused)) signed int *(*__anonymous_object58)(), __attribute__ ((unused)) signed int **(*__anonymous_object59)(), __attribute__ ((unused)) signed int *const *(*__anonymous_object60)(), __attribute__ ((unused)) signed int *const *const (*__anonymous_object61)(), __attribute__ ((unused)) signed int *__anonymous_object62, __attribute__ ((unused)) signed int __anonymous_object63[10], __attribute__ ((unused)) signed int **__anonymous_object64, __attribute__ ((unused)) signed int *__anonymous_object65[10], __attribute__ ((unused)) signed int ***__anonymous_object66, __attribute__ ((unused)) signed int **__anonymous_object67[10], __attribute__ ((unused)) signed int *const **__anonymous_object68, __attribute__ ((unused)) signed int *const *__anonymous_object69[10], __attribute__ ((unused)) signed int *const *const *__anonymous_object70, __attribute__ ((unused)) signed int *const *const __anonymous_object71[10]){ 278 314 __attribute__ ((unused)) signed int _X9_retval_fi_1; 279 315 } -
tests/.expect/functions.x86.txt
r06601401 r03606ce 94 94 __attribute__ ((unused)) const signed int _X11_retval_fO5Ki_1; 95 95 } 96 void _X1fFv___1(void); 97 void _X1fFv___1(void); 96 98 signed int _X1fFi___1(void); 97 signed int _X1fFi_i__1(signed int __anonymous_object4); 99 void _X1fFv_i__1(signed int __anonymous_object4); 100 void _X1fFv_i__1(signed int __anonymous_object5); 101 signed int _X1fFi_i__1(signed int __anonymous_object6); 102 void _X1fFv___1(void){ 103 } 104 void _X2fvFv___1(void){ 105 } 98 106 signed int _X1fFi___1(void){ 99 107 __attribute__ ((unused)) signed int _X9_retval_fi_1; 100 108 } 101 signed int _X1fFi_i__1(__attribute__ ((unused)) signed int __anonymous_object5){ 109 void _X1fFv_i__1(__attribute__ ((unused)) signed int __anonymous_object7){ 110 } 111 void _X2fvFv_i__1(__attribute__ ((unused)) signed int __anonymous_object8){ 112 } 113 signed int _X1fFi_i__1(__attribute__ ((unused)) signed int __anonymous_object9){ 102 114 __attribute__ ((unused)) signed int _X9_retval_fi_1; 103 115 } 104 116 signed int _X1fFi___1(void); 117 void _X1fFv_i__1(signed int _X1xi_1); 118 void _X2fvFv_i__1(signed int _X1xi_1); 119 void _X2f2Fv_i__1(signed int _X1xi_1){ 120 } 121 void _X3fv1Fv_i__1(signed int _X1xi_1){ 122 } 105 123 struct _tuple2_ { 106 124 }; … … 127 145 }; 128 146 struct _conc__tuple2_0 _X1fFT2ii___1(void); 129 struct _conc__tuple2_0 _X1fFT2ii_ii__1(signed int __anonymous_object6, signed int _X1xi_1); 147 void _X1fFv_ii__1(signed int __anonymous_object10, signed int _X1xi_1); 148 void _X2fvFv_ii__1(signed int __anonymous_object11, signed int _X1xi_1); 149 struct _conc__tuple2_0 _X1fFT2ii_ii__1(signed int __anonymous_object12, signed int _X1xi_1); 130 150 struct _conc__tuple2_0 _X1fFT2ii___1(void){ 131 151 __attribute__ ((unused)) struct _conc__tuple2_0 _X9_retval_fT2ii_1 = { }; 132 152 } 133 struct _conc__tuple2_0 _X1fFT2ii_ii__1(__attribute__ ((unused)) signed int __anonymous_object7, signed int _X1xi_1){ 153 void _X1fFv_ii__1(__attribute__ ((unused)) signed int __anonymous_object13, signed int _X1xi_1){ 154 } 155 void _X2fvFv_ii__1(__attribute__ ((unused)) signed int __anonymous_object14, signed int _X1xi_1){ 156 } 157 struct _conc__tuple2_0 _X1fFT2ii_ii__1(__attribute__ ((unused)) signed int __anonymous_object15, signed int _X1xi_1){ 134 158 __attribute__ ((unused)) struct _conc__tuple2_0 _X9_retval_fT2ii_1 = { }; 135 159 } … … 165 189 }; 166 190 struct _conc__tuple3_1 _X1fFT3iii___1(void); 167 struct _conc__tuple3_1 _X1fFT3iii_iii__1(signed int __anonymous_object8, signed int _X1xi_1, signed int __anonymous_object9); 191 void _X1fFv_iii__1(signed int __anonymous_object16, signed int _X1xi_1, signed int __anonymous_object17); 192 void _X2fvFv_iii__1(signed int __anonymous_object18, signed int _X1xi_1, signed int __anonymous_object19); 193 struct _conc__tuple3_1 _X1fFT3iii_iii__1(signed int __anonymous_object20, signed int _X1xi_1, signed int __anonymous_object21); 168 194 struct _conc__tuple3_1 _X1fFT3iii___1(void){ 169 195 __attribute__ ((unused)) struct _conc__tuple3_1 _X9_retval_fT3iii_1 = { }; 170 196 } 171 struct _conc__tuple3_1 _X1fFT3iii_iii__1(__attribute__ ((unused)) signed int __anonymous_object10, signed int _X1xi_1, __attribute__ ((unused)) signed int __anonymous_object11){ 197 void _X1fFv_iii__1(__attribute__ ((unused)) signed int __anonymous_object22, signed int _X1xi_1, __attribute__ ((unused)) signed int __anonymous_object23){ 198 } 199 void _X2fvFv_iii__1(__attribute__ ((unused)) signed int __anonymous_object24, signed int _X1xi_1, __attribute__ ((unused)) signed int __anonymous_object25){ 200 } 201 struct _conc__tuple3_1 _X1fFT3iii_iii__1(__attribute__ ((unused)) signed int __anonymous_object26, signed int _X1xi_1, __attribute__ ((unused)) signed int __anonymous_object27){ 172 202 __attribute__ ((unused)) struct _conc__tuple3_1 _X9_retval_fT3iii_1 = { }; 173 203 } … … 179 209 }; 180 210 struct _conc__tuple3_2 _X1fFT3iiPi___1(void); 181 struct _conc__tuple3_2 _X1fFT3iiPi_iiPi__1(signed int __anonymous_object12, signed int _X1xi_1, signed int *_X1yPi_1); 211 void _X1fFv_iiPi__1(signed int __anonymous_object28, signed int _X1xi_1, signed int *_X1yPi_1); 212 void _X2fvFv_iiPi__1(signed int __anonymous_object29, signed int _X1xi_1, signed int *_X1yPi_1); 213 struct _conc__tuple3_2 _X1fFT3iiPi_iiPi__1(signed int __anonymous_object30, signed int _X1xi_1, signed int *_X1yPi_1); 182 214 struct _conc__tuple3_2 _X1fFT3iiPi___1(void){ 183 215 __attribute__ ((unused)) struct _conc__tuple3_2 _X9_retval_fT3iiPi_1 = { }; 184 216 } 185 struct _conc__tuple3_2 _X1fFT3iiPi_iiPi__1(__attribute__ ((unused)) signed int __anonymous_object13, signed int _X1xi_1, signed int *_X1yPi_1){ 217 void _X1fFv_iiPi__1(__attribute__ ((unused)) signed int __anonymous_object31, signed int _X1xi_1, signed int *_X1yPi_1){ 218 } 219 void _X2fvFv_iiPi__1(__attribute__ ((unused)) signed int __anonymous_object32, signed int _X1xi_1, signed int *_X1yPi_1){ 220 } 221 struct _conc__tuple3_2 _X1fFT3iiPi_iiPi__1(__attribute__ ((unused)) signed int __anonymous_object33, signed int _X1xi_1, signed int *_X1yPi_1){ 186 222 __attribute__ ((unused)) struct _conc__tuple3_2 _X9_retval_fT3iiPi_1 = { }; 187 223 } 188 signed int _X3f11Fi_i__1(signed int __anonymous_object 14);224 signed int _X3f11Fi_i__1(signed int __anonymous_object34); 189 225 signed int _X3f12Fi___1(void); 190 226 const double _X4bar1Fd___1(); 191 const double _X4bar2Fd_i__1(signed int __anonymous_object 15);192 const double _X4bar3Fd_d__1(double __anonymous_object 16);227 const double _X4bar2Fd_i__1(signed int __anonymous_object35); 228 const double _X4bar3Fd_d__1(double __anonymous_object36); 193 229 const double _X3fooFd___1(void); 194 const double _X3fooFd_i__1(signed int __anonymous_object 17);195 const double _X3fooFd_d__1(__attribute__ ((unused)) double __anonymous_object 18){230 const double _X3fooFd_i__1(signed int __anonymous_object37); 231 const double _X3fooFd_d__1(__attribute__ ((unused)) double __anonymous_object38){ 196 232 __attribute__ ((unused)) const double _X11_retval_fooKd_1; 197 233 { … … 245 281 246 282 } 247 struct S _X3rtnFS1S_i__1(__attribute__ ((unused)) signed int __anonymous_object 19){283 struct S _X3rtnFS1S_i__1(__attribute__ ((unused)) signed int __anonymous_object39){ 248 284 __attribute__ ((unused)) struct S _X11_retval_rtnS1S_1; 249 285 } 250 signed int _X1fFi_Fi_ii_Fi_i___1(__attribute__ ((unused)) signed int (*__anonymous_object 20)(signed int __param_0, signed int __param_1), __attribute__ ((unused)) signed int (*__anonymous_object21)(signed int __param_0)){286 signed int _X1fFi_Fi_ii_Fi_i___1(__attribute__ ((unused)) signed int (*__anonymous_object40)(signed int __param_0, signed int __param_1), __attribute__ ((unused)) signed int (*__anonymous_object41)(signed int __param_0)){ 251 287 __attribute__ ((unused)) signed int _X9_retval_fi_1; 252 288 signed int (*(*_X2pcPA0A0PA0A0i_2)[][((unsigned int )10)])[][((unsigned int )3)]; … … 274 310 __attribute__ ((unused)) const struct _conc__tuple2_3 _X10_retval_f5KT2PiKi_1; 275 311 } 276 signed int _X1fFi_Fi__FPi__FPPi__FPKPi__FPKPi__PiPiPPiPPiPPPiPPPiPPKPiPPKPiPKPKPiPKPKPi__1(signed int (*__anonymous_object 22)(), signed int *(*__anonymous_object23)(), signed int **(*__anonymous_object24)(), signed int *const *(*__anonymous_object25)(), signed int *const *const (*__anonymous_object26)(), signed int *__anonymous_object27, signed int __anonymous_object28[10], signed int **__anonymous_object29, signed int *__anonymous_object30[10], signed int ***__anonymous_object31, signed int **__anonymous_object32[10], signed int *const **__anonymous_object33, signed int *const *__anonymous_object34[10], signed int *const *const *__anonymous_object35, signed int *const *const __anonymous_object36[10]);277 signed int _X1fFi_Fi__FPi__FPPi__FPKPi__FPKPi__PiPiPPiPPiPPPiPPPiPPKPiPPKPiPKPKPiPKPKPi__1(__attribute__ ((unused)) signed int (*__anonymous_object 37)(), __attribute__ ((unused)) signed int *(*__anonymous_object38)(), __attribute__ ((unused)) signed int **(*__anonymous_object39)(), __attribute__ ((unused)) signed int *const *(*__anonymous_object40)(), __attribute__ ((unused)) signed int *const *const (*__anonymous_object41)(), __attribute__ ((unused)) signed int *__anonymous_object42, __attribute__ ((unused)) signed int __anonymous_object43[10], __attribute__ ((unused)) signed int **__anonymous_object44, __attribute__ ((unused)) signed int *__anonymous_object45[10], __attribute__ ((unused)) signed int ***__anonymous_object46, __attribute__ ((unused)) signed int **__anonymous_object47[10], __attribute__ ((unused)) signed int *const **__anonymous_object48, __attribute__ ((unused)) signed int *const *__anonymous_object49[10], __attribute__ ((unused)) signed int *const *const *__anonymous_object50, __attribute__ ((unused)) signed int *const *const __anonymous_object51[10]){312 signed int _X1fFi_Fi__FPi__FPPi__FPKPi__FPKPi__PiPiPPiPPiPPPiPPPiPPKPiPPKPiPKPKPiPKPKPi__1(signed int (*__anonymous_object42)(), signed int *(*__anonymous_object43)(), signed int **(*__anonymous_object44)(), signed int *const *(*__anonymous_object45)(), signed int *const *const (*__anonymous_object46)(), signed int *__anonymous_object47, signed int __anonymous_object48[10], signed int **__anonymous_object49, signed int *__anonymous_object50[10], signed int ***__anonymous_object51, signed int **__anonymous_object52[10], signed int *const **__anonymous_object53, signed int *const *__anonymous_object54[10], signed int *const *const *__anonymous_object55, signed int *const *const __anonymous_object56[10]); 313 signed int _X1fFi_Fi__FPi__FPPi__FPKPi__FPKPi__PiPiPPiPPiPPPiPPPiPPKPiPPKPiPKPKPiPKPKPi__1(__attribute__ ((unused)) signed int (*__anonymous_object57)(), __attribute__ ((unused)) signed int *(*__anonymous_object58)(), __attribute__ ((unused)) signed int **(*__anonymous_object59)(), __attribute__ ((unused)) signed int *const *(*__anonymous_object60)(), __attribute__ ((unused)) signed int *const *const (*__anonymous_object61)(), __attribute__ ((unused)) signed int *__anonymous_object62, __attribute__ ((unused)) signed int __anonymous_object63[10], __attribute__ ((unused)) signed int **__anonymous_object64, __attribute__ ((unused)) signed int *__anonymous_object65[10], __attribute__ ((unused)) signed int ***__anonymous_object66, __attribute__ ((unused)) signed int **__anonymous_object67[10], __attribute__ ((unused)) signed int *const **__anonymous_object68, __attribute__ ((unused)) signed int *const *__anonymous_object69[10], __attribute__ ((unused)) signed int *const *const *__anonymous_object70, __attribute__ ((unused)) signed int *const *const __anonymous_object71[10]){ 278 314 __attribute__ ((unused)) signed int _X9_retval_fi_1; 279 315 } -
tests/functions.cfa
r06601401 r03606ce 10 10 // Created On : Wed Aug 17 08:39:58 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Tue Nov 6 17:54:09 201813 // Update Count : 1312 // Last Modified On : Tue Mar 5 11:02:25 2024 13 // Update Count : 34 14 14 // 15 15 16 16 // ANSI function definitions 17 17 18 void h( void) {}18 void h( void ) {} 19 19 20 20 int f ( 21 int ( void),22 int ( int),23 int (( void)),24 int (( int)),25 void g( void)26 27 (* 21 int ( void ), 22 int ( int ), 23 int (( void )), 24 int (( int )), 25 void g( void ) 26 ) { 27 (*g)(); 28 28 g(); 29 29 g = h; … … 32 32 int f1() {} 33 33 int (f2()) {} 34 int (* 34 int (*f3())() {} 35 35 int * ((f4())) {} 36 int ((* 36 int ((*f5()))() {} 37 37 int * f6() {} 38 int * ( f7)() {}38 int * ( f7)() {} 39 39 int ** f8() {} 40 int * const * ( f9)() {}40 int * const * ( f9)() {} 41 41 int (* f10())[] {} 42 42 int (* f11())[][3] {} … … 66 66 // Cforall extensions 67 67 68 // [] f( ); 69 [int] f( ); 70 // [] f(int); 71 [int] f(int); 72 // [] f( ) {} 73 [int] f( ) {} 74 // [] f(int) {} 75 [int] f(int) {} 76 77 [int x] f( ); 78 // [] f(int x); 79 //[int x] f(int x); 80 //[int x] f( ) {} 81 // [] f(int x) {} 82 //[int x] f(int x) {} 83 84 [int, int x] f( ); 85 // [] f(int, int x); 86 [int, int x] f(int, int x); 87 [int, int x] f( ) {} 88 // [] f(int, int x) {} 89 [int, int x] f(int, int x) {} 90 91 [int, int x, int] f( ); 92 // [] f(int, int x, int); 93 [int, int x, int] f(int, int x, int); 94 [int, int x, int] f( ) {} 95 // [] f(int, int x, int) {} 96 [int, int x, int] f(int, int x, int) {} 97 98 [int, int x, * int y] f( ); 99 // [] f(int, int x, * int y); 100 [int, int x, * int y] f(int, int x, * int y); 101 [int, int x, * int y] f( ) {} 102 // [] f(int, int x, * int y) {} 103 [int, int x, * int y] f(int, int x, * int y) {} 68 [] f(); 69 [void] f(); 70 [int] f(); 71 [] f( int ); 72 [void] f( int ); 73 [int] f( int ); 74 [] f() {} 75 [void] fv() {} 76 [int] f() {} 77 [] f( int ) {} 78 [void] fv( int ) {} 79 [int] f( int ) {} 80 81 [int x] f(); 82 [] f( int x ); 83 [void] fv( int x ); 84 //[int x] f( int x ); 85 //[int x] f() {} 86 [] f2( int x ) {} 87 [void] fv1( int x ) {} 88 //[int x] f( int x ) {} 89 90 [int, int x] f(); 91 [] f( int, int x ); 92 [void] fv( int, int x ); 93 [int, int x] f( int, int x ); 94 [int, int x] f() {} 95 [] f( int, int x ) {} 96 [void] fv( int, int x ) {} 97 [int, int x] f( int, int x ) {} 98 99 [int, int x, int] f(); 100 [] f( int, int x, int ); 101 [void] fv( int, int x, int ); 102 [int, int x, int] f( int, int x, int ); 103 [int, int x, int] f() {} 104 [] f( int, int x, int ) {} 105 [void] fv( int, int x, int ) {} 106 [int, int x, int] f( int, int x, int ) {} 107 108 [int, int x, * int y] f(); 109 [] f( int, int x, * int y ); 110 [void] fv( int, int x, * int y ); 111 [int, int x, * int y] f( int, int x, * int y ); 112 [int, int x, * int y] f() {} 113 [] f( int, int x, * int y ) {} 114 [void] fv( int, int x, * int y ) {} 115 [int, int x, * int y] f( int, int x, * int y ) {} 104 116 105 117 // function prototypes … … 116 128 int ( int, int p ), 117 129 [int](int) 118 119 int (* (* pc )[][10])[][3];130 ) { 131 int (* (* pc )[][10])[][3]; 120 132 * [][10] * [][3] int p; 121 * [] * [int]( int) p;133 * [] * [int]( int ) p; 122 134 } 123 135 … … 149 161 int * const * const ([]), 150 162 int * const * const ([10]) 151 163 ); 152 164 153 165 int f( … … 170 182 int * const * const ([]), 171 183 int * const * const ([10]) 172 ) { 173 } 184 ) {} 174 185 175 186 typedef int T; 176 187 177 int f( T ( * f), T t ) {178 T ( T);188 int f( T ( *f ), T t ) { 189 T ( T ); 179 190 } 180 191
Note: See TracChangeset
for help on using the changeset viewer.