Fwd: Objective-C and C99 strict aliasing

2009-04-08 Thread John Engelhart
I've long wondered how GCC deals with C99 strict aliasing rules when compiling Objective-C code.  There's no language spec for Objective-C, other than the written prose description of the language that Apple provides (which, until recently, has been virtually unmodified since it's NeXT origins), so

Re: Fwd: Objective-C and C99 strict aliasing

2009-04-09 Thread John Engelhart
On Wed, Apr 8, 2009 at 5:42 PM, Ian Lance Taylor wrote: > John Engelhart writes: > >> Objective-C defines 'c_common_get_alias_set' as its language specific >> alias set manager.  c_common_get_alias_set() seems(?) to only >> implement C's strict aliasing rul