Sorry to mention aliasing again, but is the standard IN6_ARE_ADDR_EQUAL really wrong?

Paul Koning Paul_Koning@Dell.com
Sun Jan 10 14:37:00 GMT 2010


> ...
> >> The object type is uint8_t, but accessed as uint32_t.  That is
> >> undefined.
> >
> > Unless uint8_t is a character type, as I understand it.
> 
> In which way does it make a difference?  For aliasing consideration,
> only the type of access matters.

The aliasing rules treat "char" specially because char is a bit like a
"poor main's void".

	paul



More information about the Gcc mailing list