This is the mail archive of the gcc-help@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]

Re: Compiler IR


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


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