This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/52188] [4.7 regression] IPA-CP change broke libstdc++ symbol versioning on Solaris
- From: "jamborm at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 20 Feb 2012 12:57:01 +0000
- Subject: [Bug libstdc++/52188] [4.7 regression] IPA-CP change broke libstdc++ symbol versioning on Solaris
- Auto-submitted: auto-generated
- References: <bug-52188-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52188
--- Comment #14 from Martin Jambor <jamborm at gcc dot gnu.org> 2012-02-20 12:57:01 UTC ---
(In reply to comment #13)
> Can/do we mark all clones having hidden visibility? Would a matching regexp
> in the linker script override that? Isn't that a bug?
I believe they are made static, at least TREE_PUBLIC is cleared for
their new decls in cgraph_create_virtual_clone. I think the problem
was that the original un-cloned function was exported (because IPA-CP
decided to ignore it) rather than the cloned one?