Hi,
On Fri, 21 Oct 2005 23:52:23 +0530, Dave Hylands <[EMAIL PROTECTED]> wrote:

By default, the compiler is setup to use 16 bit ints. The C language
requires that the & operation promote both sides to ints.

I agree, but I believe that when the end result is to be assigned to an 8 bit (esp. unsigned char), the code ought to work *as if* it had been promoted, and no actual promotion need be done.

--Royce.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to