http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48035
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |wrong-code --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-03-08 22:43:13 UTC --- On x86_64 with valgrind: ==31260== Invalid write of size 8 ==31260== at 0x4006E0: BadStuffHere() (t.cc:38) ==31260== by 0x400703: main (t.cc:43) ==31260== Address 0x5936058 is 0 bytes after a block of size 24 alloc'd ==31260== at 0x4C24DFA: operator new(unsigned long) (vg_replace_malloc.c:261) ==31260== by 0x4006C6: BadStuffHere() (t.cc:38) ==31260== by 0x400703: main (t.cc:43)