Dumping tree with no opt flag
Mon Jul 30 15:22:00 GMT 2007
I try to develop a tool that get the final CFG of gcc by passing the
-fdump-tree-final_cleanup-lineno option and parsing the file dumped by gcc.
I noticed that this flag does create an output only if at least the
'-O1' (or more) is in the command line.
I just would like to know if it would be possible to get the
final_cleanup target even though no optimization flag has been given in
the command line (for now, I'm just forcing '-O1' to be present if no
other optimization flag has been detected in the command line).
A final remark, not really significant, I noticed that since gcc 4.2,
the name of the dumped tree files have slightly changed. Indeed before,
I was used to <src_file_name>.t<#id>.<type> where in 4.2 it is more like
I agree that this change is nothing but is there a reason for changing
the position of the 't' character ?
There are only 10 types of people in the world.
Those who understand binary and those who don't!!!!
More information about the Gcc