This is the mail archive of the 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: [tree-ssa] Removal of gotos from cfg based ir

> On Fri, Nov 14, 2003 at 05:13:19PM -0700, wrote:
> > And, so with this in mind, what state should we be passing to 
> > to the tree_rest_of_compilation routine.
> I'm not sure.  Mostly because I don't think this should actually
> be in the official front end interface at all.
> The real front-end -> optimizer interface should be cgraph.h.
> The front end tells cgraph about all of the symbols in the
> translation unit, then cgraph decides whether and how the
> symbols will be emitted.  tree_rest_of_compilation would be
> part of the interface from cgraph to the code generators, but
> whether in its current form or not, I don't know.

This is what I do have in mind.  I think we are mostly there.
We callback frontend before doing tree_rest_of_compilation and again in
expansion, but these hooks should be elliminable soonish.
cgraphunit should work as compilation driver deciding when things should
be genericised/gimplified/optimized at his own.


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