How to dump treee ssa raw output under GCC 4.4.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!
   I used gcc of ubuntu 8.04 to generate a C file's tree ssa raw file
by option -fdump-tree-ssa-raw. In the output file, trees are
represented in a raw form such as:
.......................
main ()
@1      function_decl    name: @2       type: @3       srcp: bug1b.c:80
                         link: extern   addr: b7839570
@2      identifier_node  strg: main     lngt: 4        addr: b77b3e00
@3      function_type    unql: @4       size: @5       algn: 8
                         retn: @6       addr: b783dbd0
......................
  I'm not sure about the gcc version under ubuntu 8.04, maybe 4.2.3.
But now when I use gcc 4.4.1 of ubuntu 9.10, output file under the
option -fdump-tree-ssa-raw is like following:
......................
main ()
{
  pthread_t threads[2];
  void (*functype) (int) tt;

<bb 2>:
  gimple_assign <addr_expr, tt_1, push, NULL>
  gimple_assign <integer_cst, curStack.length, 0, NULL>
  gimple_call <push, NULL, 1000>
  gimple_call <tt_1, NULL, 2000>
  gimple_call <pthread_create, NULL, &threads, 0B, consumeThread, 0B>
  gimple_call <pthread_create, NULL, &threads[1], 0B, consumeThread, 0B>
  gimple_call <pthread_exit, NULL, 0B>
}
......................
Trees are pretty printed into a C-like representation. Through manual,
I find only the -raw option under -fdump-tree-switch-options to show
trees in the raw form. But under 4.4.1, it doesn't work.
How to dump trees of ssa in raw representation by gcc 4.4.1?
By the way, the option -fdump-original can output the raw form but so
redundancy.

Happy new year:)
Thanks in advance
PANG Long


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux