Another question. How can I dump gimple IR after optimization pass?

Diego Novillo dnovillo@google.com
Wed Feb 27 23:24:00 GMT 2008


On 27-Feb-08, at 17:44 , Haifeng He wrote:

> 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.

No, you simply need to mark a ToDo item in the pass descriptor.  See  
for instance, pass_vrp and look for TODO_dump_func.


Diego.



More information about the Gcc-help mailing list