On 11/10/2011, at 4:05 AM, Martin Jambor wrote:

> 
> Just before this, there is the following test (guarded by
> flag_strict_aliasing per explicit Richi's request). 
> 
>         if (flag_strict_aliasing
>             && !POINTER_TYPE_P (TREE_TYPE (lhs)))
>           return false;
> 
> Why is it not enough to catch integer constants?

It appears to be enough.  The patch I sent was developed against GCC 4.6 and I 
didn't notice your change when updated it for 4.7.  Thanks for fixing this.

--
Maxim Kuvyrkov
CodeSourcery / Mentor Graphics

Reply via email to