This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/60984] [4.9 Regression] AIX: gcc-4.9.0 bootstrap fails in stage-2
- From: "hubicka at ucw dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 May 2014 23:23:48 +0000
- Subject: [Bug bootstrap/60984] [4.9 Regression] AIX: gcc-4.9.0 bootstrap fails in stage-2
- Auto-submitted: auto-generated
- References: <bug-60984-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60984
--- Comment #26 from Jan Hubicka <hubicka at ucw dot cz> ---
> Thanks for tracking this down. I will test it as well. AIX is a very good
> canary for these types of bugs.
Yeah, the difference here is that we produce a lot more local aliases on AIX
than elsewhere. We discussed it previously - it is because middle-end believes
that comdat mechanizm is missing and only WEAK is used. If AIX linker has
mechanizm to throw away unused comdat functions, we ought to model this to the
middle-end. (perhaps something like unreachable_symbol_removal_in_linker target
hook or so)
Honza