This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Another question. How can I dump gimple IR after optimization pass?
- From: "Haifeng He" <hehaifeng2nd at gmail dot com>
- To: "Diego Novillo" <dnovillo at google dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Wed, 27 Feb 2008 15:44:47 -0700
- Subject: Re: Another question. How can I dump gimple IR after optimization pass?
- References: <b798aad50802271237u54dc3361u67ee99024378e2b@mail.gmail.com>
Thank you for the response. I guess if I only want to check the result
of my own pass without
any other optimization, I still need to write my own dump function.
Haifeng
On Wed, Feb 27, 2008 at 1:37 PM, Diego Novillo <dnovillo@google.com> wrote:
>
>
> 2008/2/26 Haifeng He <hehaifeng2nd@gmail.com>:
>
>
> > I have another question. I would like to dump gimple IR into file in
> > order to debug
>
> -fdump-tree-optimized is the very last GIMPLE dump before going into RTL.
> That dump file will reflect all the optimizations done on GIMPLE.
> -fdump-tree-all will give you a 100 or so dump files with the incremental
> effects of each optimization pass.
>
> See the internal documentation and tutorials at
> http://gcc.gnu.org/wiki/GettingStarted
>
> Diego.