This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: Objective-C and C99 strict aliasing


John Engelhart <john.engelhart@gmail.com> 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 rules, with no provisions for
> Objective-C's needs.

> Can anyone with a much better understanding of GCC's internals comment on this?

I think you are correct about what is happening today.

Since I don't know anything about Objective C, I don't know what should
happen instead.  I would guess that you would want to set up a tree of
alias sets, using record_alias_subset.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]