[Bug c/37609] Pointer arithmetic yields strange result

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 22 19:55:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list