This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37609] Pointer arithmetic yields strange result
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Sep 2008 19:54:23 -0000
- Subject: [Bug c/37609] Pointer arithmetic yields strange result
- References: <bug-37609-8983@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2008-09-22 19:54 -------
This is invalid code as the difference between ((EDIDDetailed *)
&pExt->checksum) - pDTD is 88 which is not a multiple of 18. This happens the
same way on powerpc.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Component|target |c
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37609