Language-independent functions-as-trees representation
Pop Sébastian
pop@gauvain.u-strasbg.fr
Sun Jul 21 11:09:00 GMT 2002
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).
More information about the Gcc
mailing list