- Timestamp:
- Feb 5, 2025, 1:45:29 PM (8 months ago)
- Branches:
- master
- Children:
- ab94c37
- Parents:
- 92aeae1
- Location:
- tests
- Files:
-
- 2 added
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
tests/.expect/extension.x86.txt
r92aeae1 rd3d54b3 120 120 static inline void _X12_constructorFv_U1UU1U_autogen___1(__attribute__ ((unused)) union U *_X4_dstU1U_1, __attribute__ ((unused)) union U _X4_srcU1U_1){ 121 121 { 122 ((void)__builtin_memcpy(((void *)_X4_dstU1U_1), ((const void *)(&_X4_srcU1U_1)), sizeof(union U)));122 ((void)__builtin_memcpy(((void *)_X4_dstU1U_1), ((const void *)(&_X4_srcU1U_1)), ((unsigned long int )sizeof(union U )))); 123 123 } 124 124 … … 129 129 __attribute__ ((unused)) union U _X4_retU1U_1; 130 130 { 131 ((void)__builtin_memcpy(((void *)_X4_dstU1U_1), ((const void *)(&_X4_srcU1U_1)), sizeof(union U)));131 ((void)__builtin_memcpy(((void *)_X4_dstU1U_1), ((const void *)(&_X4_srcU1U_1)), ((unsigned long int )sizeof(union U )))); 132 132 } 133 133 … … 140 140 static inline void _X12_constructorFv_U1Ui_autogen___1(__attribute__ ((unused)) union U *_X4_dstU1U_1, signed int _X1ai_1){ 141 141 { 142 ((void)__builtin_memcpy(((void *)_X4_dstU1U_1), ((const void *)(&_X1ai_1)), sizeof(signed int)));142 ((void)__builtin_memcpy(((void *)_X4_dstU1U_1), ((const void *)(&_X1ai_1)), ((unsigned long int )sizeof(signed int )))); 143 143 } 144 144 -
tests/array-collections/.expect/dimexpr-match-c-ERRS.x86.txt
r92aeae1 rd3d54b3 208 208 Address of: 209 209 Name: a InitAlternative: pointer to array of float with dimension of Generated Cast of: 210 Sizeof Expression on: instance of type dim7 (not function type)211 ... with resolved type:212 unsigned long int213 ... to:214 unsigned int215 ... with resolved type:216 unsigned int217 array-collections/dimexpr-match-c.cfa:49:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression218 Address of:219 Name: a InitAlternative: pointer to array of float with dimension of Generated Cast of:220 Sizeof Expression on: instance of type dim7 (not function type)221 ... with resolved type:222 unsigned long int223 ... to:224 unsigned int225 ... with resolved type:226 unsigned int227 array-collections/dimexpr-match-c.cfa:49:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression228 Address of:229 Name: a InitAlternative: pointer to array of float with dimension of Generated Cast of:230 Sizeof Expression on: instance of type dim7 (not function type)231 ... with resolved type:232 unsigned long int233 ... to:234 unsigned int235 ... with resolved type:236 unsigned int237 array-collections/dimexpr-match-c.cfa:49:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression238 Address of:239 Name: a InitAlternative: pointer to array of float with dimension of Generated Cast of:240 Sizeof Expression on: instance of type dim7 (not function type)241 ... with resolved type:242 unsigned long int243 ... to:244 unsigned int245 ... with resolved type:246 unsigned int247 array-collections/dimexpr-match-c.cfa:49:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression248 Address of:249 Name: a InitAlternative: pointer to array of float with dimension of Generated Cast of:250 Sizeof Expression on: instance of type dim7 (not function type)251 ... with resolved type:252 unsigned long int253 ... to:254 unsigned int255 ... with resolved type:256 unsigned int257 array-collections/dimexpr-match-c.cfa:49:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression258 Address of:259 Name: a InitAlternative: pointer to array of float with dimension of Generated Cast of:260 210 Variable Expression: enu7: const instance of enum __anonymous0 with body 261 211 ... with resolved type: … … 307 257 array-collections/dimexpr-match-c.cfa:49:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression 308 258 Address of: 259 Name: a InitAlternative: pointer to array of float with dimension of Sizeof Expression on: instance of type dim7 (not function type) 260 ... with resolved type: 261 unsigned int 262 array-collections/dimexpr-match-c.cfa:49:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression 263 Address of: 264 Name: a InitAlternative: pointer to array of float with dimension of Sizeof Expression on: instance of type dim7 (not function type) 265 ... with resolved type: 266 unsigned int 267 array-collections/dimexpr-match-c.cfa:49:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression 268 Address of: 269 Name: a InitAlternative: pointer to array of float with dimension of Sizeof Expression on: instance of type dim7 (not function type) 270 ... with resolved type: 271 unsigned int 272 array-collections/dimexpr-match-c.cfa:49:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression 273 Address of: 274 Name: a InitAlternative: pointer to array of float with dimension of Sizeof Expression on: instance of type dim7 (not function type) 275 ... with resolved type: 276 unsigned int 277 array-collections/dimexpr-match-c.cfa:49:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression 278 Address of: 279 Name: a InitAlternative: pointer to array of float with dimension of Sizeof Expression on: instance of type dim7 (not function type) 280 ... with resolved type: 281 unsigned int 282 array-collections/dimexpr-match-c.cfa:49:1 error: Invalid application of existing declaration(s) in expression Untyped Init Expression 283 Address of: 309 284 Name: a InitAlternative: pointer to variable length array of float with dimension of Generated Cast of: 310 285 Variable Expression: _array_dim16: const unsigned int -
tests/nowarn/.expect/printf-sizeof.txt
r92aeae1 rd3d54b3 2 2 1 3 3 10 4 0 1 2 3 4 5 6 7 8 9 -
tests/nowarn/printf-sizeof.cfa
r92aeae1 rd3d54b3 11 11 forall( [N] ) 12 12 void mary( array(char, N) & ) { 13 printf( "%zu\n", N ); 14 #if defined TRY_TRAC_269_REMAINDER 15 for ( i; N ) { 13 printf( "%zu\n", N ); 14 for ( i; N ) { 16 15 if (i > 0) printf(" "); 17 printf( "%zu", i); // FIX ME: i still getting type long unsigned int on -m3218 16 printf( "%zu", i); 17 } 19 18 printf("\n"); 20 #endif21 19 } 22 20
Note:
See TracChangeset
for help on using the changeset viewer.