This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
-fdump-translation-unit graph tool
- From: Lorenzo Delana <ldelana at libero dot it>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 22 Sep 2002 18:58:51 +0000
- Subject: -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