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 #7 from j3p0uk at hotmail dot com  2005-11-10 13:54 -------
Created an attachment (id=10201)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10201&action=view)
More correct test program

Here is a test program designed to show the problem more clearly.  When run the
pointer arithmetic for the final printf will return an incorrect result.


-- 

j3p0uk at hotmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10186|0                           |1
        is obsolete|                            |


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]