This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/44463] whopr does not work with weak functions
- From: "hubicka at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Dec 2010 23:24:32 +0000
- Subject: [Bug lto/44463] whopr does not work with weak functions
- Auto-submitted: auto-generated
- References: <bug-44463-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44463
--- Comment #6 from Jan Hubicka <hubicka at gcc dot gnu.org> 2010-12-14 23:24:20 UTC ---
Note that the fix solves the problem just partly. We now have duplicate
definition of the symbol with -fno-use-linker-plugin -flto-partition=1to1
This is because the problem in can_prevail predicate mentioned in the mail.
For this reason I left out the testcase from final commit (didn't noticed the
problem earlier since I tested it with plugin enabled only)