This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

-fdump-translation-unit graph tool


hi,

someone know existance of some sort of tool to display result of translation 
unit as a graph ?

The graph relative to .tu files are a cyclic graph ?
the gcc_int say that is an acyclic graph...

--- from gcc_int manual :Trees: The intermediate represetation used ...---
The internal representation for expressions is for the most part quite 
straightforward. However, there are a few facts that one must bear in mind. 
In particular, the expression "tree" is actually a directed acyclic graph.
                                                           ^^^^^^^^^^^^^^^^^
 (For example there may be many references to the integer constant zero 
throughout the source program; many of these will be represented by the same 
expression node.) You should not rely on certain kinds of node being shared, 
nor should rely on certain kinds of nodes being unshared. 
----

but this isn't an acyclic graph ...

@8      integer_cst      type: @17      low : 64
                               ^^^^
@17     integer_type     name: @35      size: @8       algn: 64
                                             ^^^^^
                         prec: 36       unsigned       min : @36
                         max : @37


thnx
lore


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]