This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/61232] [4.10 Regression] link errors building libgo
- From: "ian at airs dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 May 2014 22:27:41 +0000
- Subject: [Bug go/61232] [4.10 Regression] link errors building libgo
- Auto-submitted: auto-generated
- References: <bug-61232-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61232
--- Comment #8 from Ian Lance Taylor <ian at airs dot com> ---
The naming is confusing and but the idea seems sound. It doesn't make sense
for a static symbol to be DECL_ONE_ONLY. But currently DECL_ONE_ONLY just
means that the symbol has a comdat group. So given that, I guess it makes
sense to speak about DECL_ONE_ONLY && !TREE_PUBLIC meaning a static symbol in a
comdat group, where the signature for the comdat group must obviously be some
other symbol.