On Thu, Jun 12, 2008 at 4:39 PM, Diego Novillo <[EMAIL PROTECTED]> wrote: > On 2008-06-12, Kenneth Zadeck <[EMAIL PROTECTED]> wrote: > >> I have no idea how to make sure, in whopr, that function x sees foobar if >> you are going to cherry pick the globals also. > > I'm not sure I see the problem that you are pointing to. In this program: > > int N; > int foobar; > int *bar = &foobar; > int **foo = &bar; > x () > { > int **x = foo; > return **x; > } > > All of 'foobar', 'bar' and 'foo' will be in the list of symbols > referenced by x().
Why do you think foobar will be in the list? (I'm just curious, i'm not saying you are wrong).