This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Dumping Gimple After Optimization
- From: Andrew Haley <aph at redhat dot com>
- To: Mostafa Shahto <mshahto at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Mon, 2 Apr 2007 12:17:44 +0100
- Subject: Re: Dumping Gimple After Optimization
- References: <9788724.post@talk.nabble.com>
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