public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* CFG using gcc
@ 2003-01-30 21:51 Nikhil Bansal
  2003-01-31  0:22 ` Jan Hubicka
  0 siblings, 1 reply; 2+ messages in thread
From: Nikhil Bansal @ 2003-01-30 21:51 UTC (permalink / raw)
  To: 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?

Nikhil

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CFG using gcc
  2003-01-30 21:51 CFG using gcc Nikhil Bansal
@ 2003-01-31  0:22 ` Jan Hubicka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Hubicka @ 2003-01-31  0:22 UTC (permalink / raw)
  To: Nikhil Bansal; +Cc: 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-30 23:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-30 21:51 CFG using gcc Nikhil Bansal
2003-01-31  0:22 ` Jan Hubicka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).