Adding an empty struct to a union causes the compiler to never finish
Reading the datasheet again, I realized that INTEGS is a write-only register (at least in the PFS173) and INTEGS |= therefore undefined behavior. However, the same error occurs when using PB, which is marked as R/W in the datasheet. It happens not only for |=, but also for other operators like ~. #define PB_ADDR 0x13 __sfr __at(PB_ADDR) _pb; #define PB _pb void main(void) { PB = ~PB; } sdcc -mpdk15 -DPFS173 --fverbose-asm -o build/ test.c Backtrace: sdcc(+0xa03e3)[0x55c50b96f3e3] sdcc(+0x10c0af)[0x55c50b9db0af]...
Wrong asm generated for 'for' loop
Assigning a struct value to a register generates invalid asm
PDK: Error when using "|= 0" on a register
Add a static variable with the available barcode types to the TCPDFBarcode classes