stm8 peephole optimizer issue
Fixed in [r17095].
Fix bug #4231.
I can reproduce the issue using SDCC build from current trunk on my Debian GNU/Linux testing system on amd64. The problem happen in the code size calculation for ldw 0x525e, x, in line 483 of src/stm8/peep.c. P.S.: [bugs:#4231].
stm8 peephole optimizer issue
I can reproduce the issue using SDCC build from current trunk on my Debian GNU/Linux testing system on amd64. The problem happen in the code size calculation for ldw 0x525e, x, in line 483 of src/stm8/peep.c.
AFAIR, @roybaer is somewhat familiar with that parser ( he had getting rid of some conflicts on his todo list for a while).
z80: live IY value is overwritten while accessing a global operand