This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Compiler IR
- From: Ian Lance Taylor <iant at google dot com>
- To: Mostafa Shahto <mshahto at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 10 Apr 2007 23:41:32 -0700
- Subject: Re: Compiler IR
- References: <9933657.post@talk.nabble.com>
Mostafa Shahto <mshahto@gmail.com> writes:
> $gcc mm.cpp -o mm -fdump-tree-all
> or
> $gcc mm.cpp -o mm -fdump-tree-gimple-all
>
> In the first case, i'm getting the passes up to pass 14, and I'm not getting
> the SSA file (which is supposedly pass 26). So if my first question is this:
> How can I get the SSA file for the mm.cpp file (please try to give me the
> full method/commands without abbreviations, coz I'm a Linux Noob)???
You need to enable optimization.
gcc mm.cpp -o mm -O -fdump-tree-all
Ian