This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28361] Pointer arithmetic failure
- 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: 12 Jul 2006 17:01:59 -0000
- Subject: [Bug c++/28361] Pointer arithmetic failure
- References: <bug-28361-12943@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-07-12 17:01 -------
memcpy (buffer + i * sizeof (struct something),&i;sizeof (int));
Well that code should be not compile as there is a syntax error? Also what you
gave is not enough to reproduce the bug, do you have a self contained example?
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28361