Hi, I am a student in Utah State University researching on compilers optimization techniques. I wanted to know how I could use gcc for experimenting with optimization.
Here is what I intend to do: 1) Understand the control flow graphs being generated by GCC, which I could build using the -fdump-tree-cfg option. 2) Write code that could convert CFG to a different graph. 3) Use this new graph for optimization. 4) Use the optimized graph to generate machine code (say Intel architecture for now). Please let me know how I could leverage the GCC code for this purpose, and if you any suggestions/comments for me you are most welcome ! :) Thanks, Rohan