As David Brown wrote:

> The reason I questioned the signed char case was from a quotation
> from the standards in a stackoverflow question, which suggests that
> it only applies to plain char and unsigned char.  I don't have a
> copy of the standards on-hand to check.  It may also be that it
> applies only to C++, not C.

I don't know about the C++ standard, but the C standard explicitly
states:

7 An object shall have its stored value accessed only by an lvalue
  expression that has one of the following types:74)
...
  -- a character type.

74) The intent of this list is to specify those circumstances in which
an object may or may not be aliased.

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

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

_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to