Hi,

I'm trying to print the cfg so that I can visualize it. I have a simple
file,
  $ cat foo.c 
  int
  foo (int param)
  {
    param++;
    if (param)
      param++;
    return param;
  }

I run the command,
  $ gcc -fdump-tree-vcg-blocks -c foo.c
and then I run,
  xvcg *.vcg
which displays a picture of the cfg. It appears for some reason, that
the expressions in the basic blocks just show things like,
  modify_expr (4)
  cond_expr (5)

Is there a way to make it show the actual expressions in the code
instead? Also, is there a native way to display this information using
dot instead?

Thanks,
Bob Rossi

Reply via email to