2008/12/1 陈笃纯 <cdc0613@xxxxxxxxx>: > However, I cannot locate the code which creates AST. Any suggestion? Tree fragments are created as the function is parsed. The answer to your question will depend on what version of GCC you're using, though. The C/C++ FEs have not used yacc for a while, so you are probably using an old one. Tree nodes are build with the build_* functions, which use make_node_stat in the end (the details vary from version to version). Diego.