This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
gimplification---gimple tree for C and C++
- From: "sean yang" <seanatpurdue at hotmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 06 Apr 2006 03:24:13 +0000
- Subject: gimplification---gimple tree for C and C++
- Bcc:
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/