This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: IPO optimization framework for GCC


On 10/12/05, Diego Novillo <dnovillo@redhat.com> wrote:
> On Monday 10 October 2005 19:25, Steve Ellcey wrote:
>
> > Could we just have -fwrite-ipo create a '.o' file that contains the
> > intermediate representation (instead of being a real object file).
> >
> > Then when the linker is called it would call the compiler with all the
> > files that have intermediate code instead of object code and finish up
> > the compilation.  Actually, maybe we could add the restriction that
> > you have to use GCC to call the linker when doing IPO and that way
> > GCC could finish up the compilations before it calls the linker.
> >
> That's the model I'm used to, so I would prefer this approach.

That is why I used name "glo" to mean gnu linktime optimizer or something
like that. I was raising the issue of whether cc1*, in middle of a compilation,
is expected to read other compilation unit's IL from disk or not. This decision
has big influence on the form of IL being written/read.

-
Devang


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]