Problem with -O3 and int to pointer (64bits)

Andrew Haley aph@redhat.com
Sun Nov 5 13:12:00 GMT 2006


Benjamin Grange writes:
 > For those interested, I have found an excellent article about my problem:
 > http://www.cellperformance.com/mike_acton/2006/06/understanding_strict_aliasing.html

Hmm.  It's certainly a very long article.

One thing that may be misleading: it suggests that this issue is
something to do with C99 conformance.  C89 has the same restrictions
on pointer conversion.

Andrew.



More information about the Gcc-help mailing list