title: Playing with gcc's intermediate GIMPLE format
body: <p>According to <a href="http://en.wikipedia.org/wiki/Intermediate_language">this article</a> gcc uses several intermediate formats before generating code. I read that the GIMPLE format uses three address code, which seems to be the easiest intermediate language to use. But I need some more detail, as I need to build a tool that can take the intermediate code and insert some code to it before generating the final code.</p>
  
  <p>For this I first need to know how can I even generate the GIMPLE format code and save it in a file. So I'm looking for some documents and examples. Also, if anyone has worked with such things, can I know the complexity of this task, which is to insert some code into the intermediate code?   </p>