deepak poola wrote:
and i need to change the pointer assignments so that i can increment the assignmnets for reference counting.... can anybody suggest me or guide me regarding this
You want to instrument every pointer assignment? You probably want to write a GIMPLE pass that looks for pointer assignments. There is information on how to write passes in the getting started section of the wiki. http://gcc.gnu.org/wiki/GettingStarted