2 bf64-1.c from the execute part of the gcc torture tests.
7 #if 0 // Enable when SDCC supports bit-fields wider than 16 bits
8 /* { dg-xfail-if "ABI specifies bitfields cannot exceed 32 bits" { mcore-*-* } } */
11 long long int pad
: 12;
12 long long int field
: 52;
17 long long int field
: 52;
18 long long int pad
: 12;
24 tmp
.field
|= 0x0008765412345678LL
;
29 sub2 (struct tmp2 tmp2
)
31 tmp2
.field
|= 0x0008765412345678LL
;
37 testTortureExecute (void)
39 #if 0 // Enable when SDCC supports bit-fields wider than 16 bits
40 struct tmp tmp
= {0x123, 0xFFF000FFF000FLL
};
41 struct tmp2 tmp2
= {0xFFF000FFF000FLL
, 0x123};
46 if (tmp
.pad
!= 0x123 || tmp
.field
!= 0xFFFFFF541FFF567FLL
)
48 if (tmp2
.pad
!= 0x123 || tmp2
.field
!= 0xFFFFFF541FFF567FLL
)