Sorry to mention aliasing again, but is the standard IN6_ARE_ADDR_EQUAL really wrong?
Andrew Haley
aph@redhat.com
Sun Jan 10 12:50:00 GMT 2010
On 01/10/2010 12:39 PM, Andreas Schwab wrote:
> Andrew Haley <aph@redhat.com> writes:
>
>> Why do you say the effective type is different?
>
> 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. That is
clearly the assumption on which the code relies.
Andrew.
More information about the Gcc
mailing list