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 can cause unwanted side effects (e.g. fetch the next
byte from the UART).

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to