Richard Guenther writes: > On Thu, 22 Dec 2005, Andrew Haley wrote: > > > Richard Guenther writes: > > > > > > So the basic question remains - is pointer overflow defined? > > > > No. You've already asked, and it's already been answered, with > > langauge from the standard. What more do you want? > > Well, nothing - just again clarification as there seems to be a lot > of confusion in this thread ;)
Well, there were a few "red herring" moments, for sure. But the relevant language is Section 6.5.6 which describes the + operator. Any operands other than the ones described in that section are undefined. Andrew.