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: Dumping Gimple After Optimization


Mostafa Shahto writes:
 > 
 > Hey,
 > I have a couple of question regarding dumping gimple:
 > 1)How can I get Gimple after a certain optimization pass (say loop
 > unrolling)?

-fdump-tree-*.  

 > 2)Is there a way to get Gimple after all optimization passes?

-fdump-tree-all dumps all of the passes.

 > 3)If neither of 1) and 2) is possible, what presentation in GCC allows
 > getting an optimized low level code in a similar form to Gimple.
 > 4)I'm using the -fdump-tree-ssa command when compiling with gcc, but I'm not
 > getting a *.ssa file in the folder,

 $ gcc -S -fdump-tree-all tmp.c -O
 $ ls tmp.c*
tmp.c  tmp.c.t26.ssa

Andrew.

-- 
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903


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