Szikra Istvan steven.sp...@gmail.com wrote:
/**
Category: optimization miss
No, I think that even qualifies as a genuine bug: in your case, a
pointer qualified as volatile is being fetched twice, first by the
CBI instruction, and a second time by the IN instruction. For an IO
register, this
/**
Category: optimization miss
affects: avr-gcc 4.x.x
'?:' operator bit write generates unnecessary 'in' instruction in
inline functions.
I had a problem with my bit set macro and inline functions (among
other things). Though I found a workaround, I thought I'll share my
experience.
I have this