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]

Re: How to generate control flow graph from AST


Hi,

On Thu, Sep 26, 2002 at 02:26:35PM +0800, ?????? wrote:
> Dear gcc fellows:
>                 I am working on program slicing of c++,now I need to get the control flow graph of any function or memeber function from AST generated by g++,first I think this is very easy,but when I works on it ,I find there are a lots of things 
> to solve,I think someone maybe has done it,can you give me some advice and some document about it ?

Have a look at the tree-ssa branch: the file you look for is gcc/tree-cfg.c
For more information on this branch and how to get it see 

http://gcc.gnu.org/projects/tree-ssa/index.html


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