This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/49282] malloc corruption in large lto1-wpa run during inline edge heap resize
- From: "andi-gcc at firstfloor dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 7 Jun 2011 08:15:40 +0000
- Subject: [Bug middle-end/49282] malloc corruption in large lto1-wpa run during inline edge heap resize
- Auto-submitted: auto-generated
- References: <bug-49282-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49282
--- Comment #5 from Andi Kleen <andi-gcc at firstfloor dot org> 2011-06-07 08:15:35 UTC ---
It seems GCOV is not the only cause. I just got the malloc corruption
again when building for 32bit (instead of 64bit), but still with gcov disabled.
So probably for the other build disabling gcov just hid it.
lto1: malloc.c:3551: munmap_chunk: Assertion `ret == 0' failed.
lto1: internal compiler error: Aborted
Very nasty. Any ideas how to track that down? Is valgrind supposed to work?