I changed 2 lines in SDCCPeeph.c and added peepholes 270.x
I think it would be better to do implement it a lot
states earlier, but I don't know exactly where and how.
I added a small source to show the difference.
Take a look at the generated code of lines 101 and 131.
Sorry for the german comments - but it's a real (and
small) source file.
Source, SDCCPeeph.c, mcs51/peeph.def (my version!)
Logged In: YES
user_id=888171
Originator: NO
SDCC 2.7.2 #4842 now generates compact code without peephole rules.