http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52213
Jovica changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52213
--- Comment #3 from Jonathan Wakely 2012-02-12
14:19:13 UTC ---
You ask for some memory, you get some memory of at least that size, you look at
bytes after the allocated memory and get weird behaviour. That's a bug in your
program not G++.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52213
--- Comment #2 from Jovica 2012-02-12 14:03:33
UTC ---
I know this should be undefined behaviour but i drew attention to it only
happens when there is a length divided by 8. That's why I wrote this bug, to
pay attention to this.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52213
--- Comment #1 from Jonathan Wakely 2012-02-12
13:44:17 UTC ---
Please provide *complete* testcases, this code is missing and
, since you already wrote it so it compiles why should we have to add
headers again to test it?
(In reply to comment #