RFC: cgraph/lowering vs. finish_file for GCC/UPC rewrites?
Gary Funck
gary@intrepid.com
Mon Sep 14 18:52:00 GMT 2009
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
More information about the Gcc
mailing list