This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/44966] weak aliases LTO with gold causes ICE in lto_symtab_merge_decls_1
- 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: 20 Jul 2010 20:39:08 -0000
- Subject: [Bug lto/44966] weak aliases LTO with gold causes ICE in lto_symtab_merge_decls_1
- References: <bug-44966-7834@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from andi-gcc at firstfloor dot org 2010-07-20 20:39 -------
Some more debugging on the gc crash, suggested by honza:
The corruption seems to happen in cgraph_hash
(gdb) p *x
$2 = {hash_f = 0x827750 <hash_node>, eq_f = 0x827760 <eq_node>, del_f = 0,
entries = 0x7f67b734c000, size = 262139, n_elements = 98498,
n_deleted = 0, searches = 159361, collisions = 161480, alloc_f = 0x5a9800
<ggc_cleared_alloc_ptr_array_two_args>,
free_f = 0x4b0080 <ggc_free>, alloc_arg = 0x0, alloc_with_arg_f = 0,
free_with_arg_f = 0, size_prime_index = 15}
(gdb) p cgraph_hash
$3 = (htab_t) 0x7f67bb3a8000
(gdb) p x
$4 = (struct htab * const) 0x7f67bb3a8000
(gdb)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44966