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: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 10 Jan 2011 12:57:37 +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 #10 from rguenther at suse dot de <rguenther at suse dot de> 2011-01-10 12:57:25 UTC ---
On Sun, 9 Jan 2011, hubicka at gcc dot gnu.org wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44463
>
> --- Comment #9 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-09 02:11:27 UTC ---
> Well, walking the alias pairs don't seem to be that easy after all. If I
> understand it right, we first merge the decls and then read the alias pairs.
> This means that we don't really have the information if the decl in question
> was prevailed by decl from other file, right?
>
> We really need to know that....
Yep. It's a mess.
I'd really really like to have aliases be handled in a unified
IPA symbol table entry facility before adding even more hacks.
Thus we'd have proper resolution information for them (hopefully)
Richard.