[cfe-dev] Even more clang ideas

Devang Patel dpatel at apple.com
Mon Jul 28 08:12:02 PDT 2008

>> It really starts to become a problem when you turn on the optimizer
>> and it begins to do optimizations that are dependent on this
>> aliasing invariant.  When I realized that this could actually be a
>> serious, very subtle problem, and started digging I found evidence
>> to support it.  For example, '-fstrict-aliasing' is disabled on
>> Apples GCC for ObjC code.

-fstrict-aliasing is disabled by default for all languages, not just  
ObjC, in Apple GCC.


More information about the cfe-dev mailing list