Hello, I have stumbled upon a very problematic issue. I have been, through a pass, creating a structure of the gimple tree which fits my interests. However, my final need is _after_ all gimple functions are processed, to process that structure to give interesting reports to the user. Now, I stumbled upon the fact that since passes are called per-function, I'm generating a structure I'll not be able to access because I don't know if the function I'm in at a given call is the last one, nor am I able (afaik) to install a function somewhere to be called after all functions have been processed. I'd appreciate any input on this. Is there a way to install a finalizing function? (to be called after all functions in the pass have been processed) Or to know if the current function being processed is the last one? (maybe if I know the number of times my pass will be called!)
Cheers, -- Paulo Jorge Matos - pocm at soton.ac.uk http://www.personal.soton.ac.uk/pocm PhD Student @ ECS University of Southampton, UK