------- Comment #14 from matt at use dot net 2010-01-03 20:30 ------- Still happening on 4.5.0 20091228 (and gcc 4.4.1) on Ubuntu 9.10/amd64). I found that it goes away in 3 separate instances when turning on -finline-functions. The last 2 instances of memory corruption I am running into are functions in vtables, which can't be inlined (and therefore work around this bug) until de-virtualization is eliminated.
This seems like a pretty serious and common problem; is there any chance it will be fixed in 4.5? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36043