This is the mail archive of the gcc@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]

gimplification---gimple tree for C and C++


I have two (maybe dummy) question here:

1) For C programs, gimplification is done in gimplify_function_tree(), which is called (through several caller layers) from toplev_main().
Can someone explain how gimplification is done for C++?
Maybe another way to ask it is: I understand cc1 is generated from toplev_main(). But what is the "main entrance" for the compiler for C++ (cc1plus)?


2) If I want to have a procedure to walk the gimple tree for both C and C++ program, i.e., after the tree has been lowered to GIMPLE, where should I add it? I guess this question may be automatically explained after answering above question.

Thanks,
Sean

_________________________________________________________________
Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/



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