This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/67834] [5 Regression] Local references inside comdat groups
- From: "danglin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 11 Oct 2015 22:08:01 +0000
- Subject: [Bug c++/67834] [5 Regression] Local references inside comdat groups
- Auto-submitted: auto-generated
- References: <bug-67834-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67834
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #3 from John David Anglin <danglin at gcc dot gnu.org> ---
The ELF specification says "To facilitate removing a group without leaving
dangling references and with only minimal processing of the symbol table, the
following rules are followed.
References to the sections comprising a group from sections outside of the
group must be made through symbol table entries with STB_GLOBAL or STB_WEAK
binding and section index SHN_UNDEF."
The label _ZN3uhd9transport3sphL19handle_overflow_nopEv is not globalized.
Probably, TREE_PUBLIC is not being set or there needs to be an addition
check added to assemble_start_function to globalize COMDAT functions. Jason,
could you take a look?