gcc-4.2.2 -O2 bug??

Andrew Haley aph@redhat.com
Thu Jun 19 09:46:00 GMT 2008


CH Gowri Kumar - గౌరీ కుమార్ wrote:
> Hi Andrew,
>> What happens with -fno-strict-aliasing ?
> That gives the correct result. But no warning still.

Right, so it's an aliasing bug in 4.2.2.

This joins bug 32182, 32328, 34363, and others.

Flow-insensitive aliasing is broken in gcc 4.2.  Please try gcc 4.3.

Andrew.



More information about the Gcc-help mailing list