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 08:42:43AM +0200, Andreas Jaeger wrote:
> Jason Merrill <jason@redhat.com> writes:
> 
> > In a previous thread, Diego has suggested that inlining would be done on
> > language-dependent trees.  I think this is a mistake; IMO it should be done
> > at the SIMPLE level.  Requiring the inliner to know about frontend trees is
> > wrong.
> 
> Inlining on SIMPLE might also allow to inline mixed languages, e.g. C
> code into Fortran.  

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).


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