error 9: FATAL Compiler Internal Error in file '/home/sdcc-builder/build/sdcc-build/orig/sdcc/src/stm8/gen.c' line number '3962' : Unimplemented addition operand.
examples:
uint64_t useconds100;
uint16_t us;
.......
FAIL: uint64_t end = useconds100 + TIM4->CNTR + us
OK: uint64_t end = useconds100 + us + TIM4->CNTR + us;
SDCC : mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ez80_z80/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8/pdk14/pdk15 3.8.7 #11149 (MINGW32)
published under GNU General Public License (GPL)
br
Zahari
I just fixed a related issue in [r11251]. Please check if your code works for you now. If not, please provide a compileable code sample to reproduce the issue.
Philipp
No compileable sample to reproduce the issue was provided so far. When one is provided, the issue should be reopened.