Re: [Sdcc-user] sdcc mcs51: sbit / label optimization issue.

2011-05-02 Thread Julien Olivain
Maarten, You're totally right, my bad. My real issue must be somewhere else. I will use the f2() alternative with the NOP as a temporary fix. Thanks for your answer and sorry for the noise, -- Julien. On 05/02/2011 04:26 PM, Maarten Brock wrote: > Julien, > > Have you looked re

Re: [Sdcc-user] sdcc mcs51: sbit / label optimization issue.

2011-05-02 Thread Maarten Brock
Julien, Have you looked really sharp? I expect f1() to generate a JBC (instead of JB or JNB) and that includes the clearing of the sbit. Maarten > >Hi, > >I am currently having an issue (or a misunderstanding) with sdcc > mcs51 with a sbit clearing instruction being erroneously (IMHO

[Sdcc-user] sdcc mcs51: sbit / label optimization issue.

2011-05-02 Thread Julien Olivain
Hi, I am currently having an issue (or a misunderstanding) with sdcc mcs51 with a sbit clearing instruction being erroneously (IMHO) removed. I am using sdcc-3.0.0 (as shipped in Fedora 14 repository). sdcc -v SDCC : mcs51/gbz80/z80/ds390/pic16/pic14/TININative/ds400/hc08 3.0.0 #6037