This is the mail archive of the gcc-help@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: Generation of GENERIC tree


"Renuka Selvaraj" <renukaselvaraj@acmet.com> writes:

> Please let me know how to generate GENERIC tree from parse tree and relative
> documents if any.

To generate GENERIC you call a bunch of buildN functions.  I recommend
looking at any gcc frontend other than the C/C++ frontends to see how it
is done (the C/C++ frontends are not great examples for this because
they actually use GENERIC as the parse tree, so they don't do any
conversion).

I unfortunately don't know of any serious documentation for this.  In
general the interface between the frontend and the middleend is not
really documented.

Ian


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