This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Generation of GENERIC tree
- From: Ian Lance Taylor <iant at google dot com>
- To: "Renuka Selvaraj" <renukaselvaraj at acmet dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 28 Apr 2009 07:59:02 -0700
- Subject: Re: Generation of GENERIC tree
- References: <2B4F69B3AB974E349A04ED8150E99AC2@Renuka>
"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