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

sean yang seanatpurdue@hotmail.com
Thu Apr 6 03:24:00 GMT 2006


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/



More information about the Gcc mailing list