Next: Our Choice Levels
of
Up: Projects on gcc
Intermediate Previous: Projects
on gcc Intermediate
gcc produces the textual forms of the following
intermediate representations of a program being compiled. Refer to info
gcc corresponding to version 4.0.1 for details.
- Abstract Syntax Tree (AST). The -fdump-tree-original-raw switch dumps
the textual representation of the
AST for given input source.
- Gnu SIMPLE representation (GIMPLE)2. The -fdump-tree-gimple-raw switch
dumps the GIMPLE representation of the input source.
- Control Flow Graph (CFG). The -fdump-tree-cfg-raw
switch dumps the CFG form of the GIMPLE code.
- Register Transfer Language (RTL IR)3. The -da switch
dumps the RTL IR of the input source program with the pass number as
a part of the dump file name.
- Assembly Language (ASM). The -S switch dumps
the target assembly code for the input. In our case, this is the
Pentium assembly language.
Sample programs
and corresponding IR dumps
Next: Our Choice Levels
of
Up: Projects on gcc
Intermediate Previous: Projects
on gcc Intermediate
2006-01-08