This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/44966] New: weak 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: 16 Jul 2010 23:22:07 -0000
- Subject: [Bug lto/44966] New: weak LTO with gold causes ICE in lto_symtab_merge_decls_1
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
With the attached test case which tests WHOPR with weak aliases
I get a segfault in lto_symtab_merge_decls_1 line 758
This happens in
if (prevailing->node->same_body_alias)
prevailing->node->same_body->local.used_from_object_file = true;
else
prevailing->node->local.used_from_object_file = true;
because node is NULL
Interestingly this only happens with gold, if I drop -fuse-linker-plugin
there is no segfault
This is an extract of a failure that occurred while buidling a much larger
project.
--
Summary: weak LTO with gold causes ICE in
lto_symtab_merge_decls_1
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: andi-gcc at firstfloor dot org
GCC build triplet: x86_64-linux
GCC host triplet: x86_64-linux
GCC target triplet: x86_64-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44966