This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH]: Fix PR tree-optimization/21407
On Tue, 2005-05-10 at 13:32 -0400, Kenneth Zadeck wrote:
> Dale Johannesen wrote:
> > On May 10, 2005, at 9:46 AM, Daniel Berlin wrote:
> >> On Tue, 2005-05-10 at 09:30 -0700, Mark Mitchell wrote:
> >>> Daniel Berlin wrote:
> >>> but if there's
> >>> no exemption for character pointers in that case, there should be, at
> >>> least in GNU C, where we assume unsegmented memory.
> >> If i give you a pointer to a field, that would mean you could add or
> >> subtract bytes and legally get at any other member of the structure,
> >> containing structure, etc.
> >> I was told by Geoff Keating, and others, that this is not legal in C.
> >> Have I been misinformed? That would be quite sad.
> > There was quite a bit of discussion of this internal to Apple, and no
> > agreement was reached. Geoff strongly takes the position you say;
> > Mike and I disagree. The standard seems unclear.
> I had this discussion at Apple with Geoff Keating and Mike Stump. When
> I left, they were on board with this. I would not have taken the time
> to do this if I thought I was bending the language. A never talked to
> Matt about this.
Whoops, sorry for misremember who you spoke to.
I didn't mean to put words in Matt's mouth :)