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: [tree-ssa-branch] I s the cfg suit to my work ?


On Thu, 03 Oct 2002, zhongda lu wrote:

> Hi tree-ssa developers:
>     I have downloaded the tree-ssa-20020619-branch and
> have configured and compiled the source code,while I
> met some problems,I can't install the man manuals.
> Maybe this is not very essential.What I want to say is
> that I am working on program slicing of c++ ,I want to
> utilize the cfg that the tree-ssa branch generates.
>
At the moment, you won't be able to build a flowgraph for C++
programs.  The CFG works on SIMPLE trees, and we have not yet
finished the pass to convert C++ trees into SIMPLE trees.

At the moment, only the C front end has been converted to SIMPLE
form.  Other front ends are still work in progress.

> For in program slicing every statement is a base
> block,while in compile optimization it is
> not true.Now I am thinking about one thing,should I
>
The CFG builds maximal basic blocks.  If you want to change it to
build minimal blocks, you'll have to modularize tree-cfg.c to not
call create_maximal_bb() when creating blocks.

> branch,where I begin with,where I can get the document
> of tree-ssa branch,whether I must analyze the source
> code in tree-cfg.c,thanks a lot.
> 
There is no documentation other than what you will find in the
source code comments.


Diego.


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