This is the mail archive of the gcc-bugs@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]

[Bug c/24756] pointer arithmetic on ia32 uses signed divide



------- Comment #10 from pinskia at gcc dot gnu dot org  2005-11-10 14:09 -------
(In reply to comment #9)
> 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.

YES, see also comment #3.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24756


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