[Bug objc/39753] [4.3/4.4/4.5/4.6/4.7 Regression] Objective-C(++) and C90 strict-aliasing interaction bug

nicola at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Mar 19 02:54:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39753

--- Comment #11 from Nicola Pero <nicola at gcc dot gnu.org> 2011-03-19 01:24:47 UTC ---
Having looked at some of the warnings generated in GNUstep if you compile
with -fstrict-aliasing, they seem to be C warnings with little relevance
to Objective-C (they mostly seem to be due to casting to (void **)).

So on that side (the warnings) I guess I am inclined to join Mike and become 
skeptical of this issue.

Unless the original report was that using -fstrict-aliasing would miscompile
Objective-C code ?  We need an example though.

Thanks



More information about the Gcc-bugs mailing list