On Thu, 2005-07-07 at 09:31 -0400, Michael Tegtmeyer wrote: > I'm using gcc initially to do some static analysis with the resuts being > sent somewhere else for the time being. I basically just need to gather > the variables with visibility outside of the current function. In addition > I need as little tree transformation prior to this collection as > possible-ie introduction of new temporaries etc. I scheduled a new pass > before pass_all_optimizations that simply has pass_referenced_vars and > pass_foo as subpasses where pass_foo does the analysis (simply calls > debug_referenced_vars() for the moment).
pass_init_datastructures is still necessary. If that is being called, then it is likely your code that is doing something broken, since, as you've said, it works fine otherwise :)