[Bug c++/52213] Add chunk of memory if array is size is divisable with 8

2012-02-12 Thread jovica.sabic at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52213 Jovica changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/52213] Add chunk of memory if array is size is divisable with 8

2012-02-12 Thread redi at gcc dot gnu.org
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++.

[Bug c++/52213] Add chunk of memory if array is size is divisable with 8

2012-02-12 Thread jovica.sabic at gmail dot com
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.

[Bug c++/52213] Add chunk of memory if array is size is divisable with 8

2012-02-12 Thread redi at gcc dot gnu.org
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 #