This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: cgraph/lowering vs. finish_file for GCC/UPC rewrites?
On 09/14/09 11:52:11, Richard Guenther wrote:
> Without reading all the details of your mail I suggest that you
> perform a custom walk over the function bodies right before
> the frontend calls cgraph_finalize_compilation_unit () that
> performs the necessary lowering (and function creation) to
> GENERIC. The C++ frontend already does this during its
> genericize phase to transform frontend specific trees to
> middle-end GENERIC trees.
Richard, thanks. Will take a look at how C++ handles things.
- Gary