This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: CFG using gcc
> I was wondering if it is possible to get CFG(control flow graph) of a code
> using gcc. If yes then what options to use?
-df will get you RTL dump with the control flow graph in top of each
fucntion.
It is the CFG of function after optimizing so I am not quite sure how
usefull it is for you. There are also some options to get output for
graph visualising packages I don't remember.
Honza
>
> Nikhil