Compiler IR

Ian Lance Taylor iant@google.com
Wed Apr 11 06:41:00 GMT 2007


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



More information about the Gcc-help mailing list