Re: howto graphically view .cfg file produced by -fdump-tree-cfg

2009-11-14 Thread Diego Novillo
On Sun, Nov 8, 2009 at 19:10, Larry Evans wrote: > Does someone know of a way to view this in a graphical way, > somewhat like what xvcg does for its cfg's? When I've needed to visualize a CFG, I just used a very simplistic script to paw through the dump file to produce graphviz output (attached

howto graphically view .cfg file produced by -fdump-tree-cfg

2009-11-08 Thread Larry Evans
http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html#Debugging-Options describes -fdump-tree-SWITCH where SWITCH may be one of a number of "switches" including: cfg vcg I tried the vcg switch; however, it looks like that's just the control flow for basic block. The cfg switch looks si