From the muldiv regression test, muldiv_storage_static_type_char_attr_none asm code for c code line 89:
; genAssign
mov #0xCE,*_testDiv_sloc0_1_0
; genAssign
mov #0xD1,*_testDiv_sloc0_1_0
(this is from hc08, on osome ther ports, such as z80, the issue is masked by the peephole optimizer)
I wonder why dead code elimination doesn't kill the first assignment.
Philipp
I cannot reproduce this in current SDCC [r10516]. It probably got fixed long ago.
Philipp