------- Comment #9 from j3p0uk at hotmail dot com 2005-11-10 14:02 ------- Sorry - I don't mean to pester you, I would just like to clarify your final point.
What you are saying is that: Pointer arithmetic is only valid on elements of the same array that are adjacent, and that any other uses of pointer arithmetic produces undefined behaviour. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24756