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

Eric Botcazou ebotcazou@adacore.com
Wed Jan 13 23:32:00 GMT 2010


> BTW in Ada if one uses address clause to overlay a 16 character string
> and a 4 4-byte integer array (both aliased) which is then accessed what
> can we expect GCC-wise? Are we safe from aliasing related optimizations?

Yes, we use a big hammer to make sure 'Address is immune to these issues.

-- 
Eric Botcazou



More information about the Gcc mailing list