Menu

#2902 Unimplemented addition operand

closed-out-of-date
None
STM8
5
2019-08-14
2019-04-05
harryzz
No

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

Discussion

  • Philipp Klaus Krause

    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

     
  • Philipp Klaus Krause

    • status: open --> closed-out-of-date
    • assigned_to: Philipp Klaus Krause
     
  • Philipp Klaus Krause

    No compileable sample to reproduce the issue was provided so far. When one is provided, the issue should be reopened.

     

Log in to post a comment.

MongoDB Logo MongoDB