Dumping Gimple After Optimization

Andrew Haley aph@redhat.com
Mon Apr 2 11:17:00 GMT 2007


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



More information about the Gcc-help mailing list