2 The hc08/s08 backend omitted the least-significant byte in an assignment of a literal to a local 24-bit variable, depending on which registers it resided in.
9 #if __SDCC_BITINT_MAXWIDTH >= 32 // TODO: When we can regression-test in --std-c23 mode, use the standard macro from limits.h instead!
10 // In both assignments to i, the least-significant byte gets omitted.
11 void loopm2(unsigned char *a
)
13 for (unsigned _BitInt(24) i
= (1ul << 20); i
< (1ul << 20) + 1; i
= (1ul << 20) + 1)
14 a
[i
- (1ul << 20)] = 1;
21 #if __SDCC_BITINT_MAXWIDTH >= 32 // TODO: When we can regression-test in --std-c23 mode, use the standard macro from limits.h instead!
24 #ifndef __SDCC_pdk15 // Bug #3643.