[Bug c/35427] pointer subtraction in very big array

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Mar 3 17:50:00 GMT 2008



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-03-03 17:49 -------
nelem*sizeof(long)

Wraps so what do you expect?  This is the correct behavior really.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list