This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Link-time optimzation
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: mark at codesourcery dot com (Mark Mitchell)
- Cc: gcc at gcc dot gnu dot org (gcc mailing list)
- Date: Wed, 16 Nov 2005 19:00:42 -0500 (EST)
- Subject: Re: Link-time optimzation
>
> The GCC community has talked about link-time optimization for some time.
> In addition to results with other compilers, Geoff Keating's work on
> inter-module optimization has demonstrated the potential for improved
> code-generation from applying optimizations across translation units.
I don't understand why all the Linker section cannot just be done from collect2
and let the linker not know anything at all.
That seems like the best way of implementing it. Unless you want to integrate
binutils inside GCC which might be the best goal anyways if we also want to
include MS style inline asm.
Also I see there is no mention of LLVM at all in the design, I would have thought
that it should be mentioned why you did not choose that bytecode format and why
make another one.
-- Pinski