This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Dumping tree with no opt flag


Hi all,

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
<src_file_name>.<#id>t.<type>.

I agree that this change is nothing but is there a reason for changing
the position of the 't' character ?

Regards
-- 
Emmanuel Fleury

There are only 10 types of people in the world.
Those who understand binary and those who don't!!!!
  -- Unknown


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]