Dear sir/madam, I am working on the middle end of gcc. I tried to add a local counter in to a program through gcc by adding a pass. The problem is I am not familiar with the GIMPLE structure and its API in gcc. Can you show me a piece of sample code to add a integer declaration statement and counter increasement statement in gcc ssa-form. thank you fern