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: Language-independent functions-as-trees representation


On Sun, Jul 21, 2002 at 04:22:28PM +0200, Andreas Jaeger wrote:
> Pop Sébastian <pop@gauvain.u-strasbg.fr> writes:
> > This would require to store SIMPLE trees comming from different front-ends
> > then reconstruct a global tree. 
> > (a little as the SGI's compiler works for interprocedural analysis, storing 
> > WHIRL trees into .o files, then building the whole tree at link/optimize time).
> 
> It would only make sense with whole program optimizations for
> interprocedural analysis.  Currently GCC does not do anything of this
> kind but we should think forward and whole program optimizations is
> something that some of us might want to see.

I was under the impression that this kind of whole-program IPA could only
be done in the linker.  Or at least, in whatever tool is performing the
role of the linker.

Phil

-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams


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