On 6/12/08 6:49 PM, Daniel Berlin wrote:
On Thu, Jun 12, 2008 at 4:39 PM, Diego Novillo <[EMAIL PROTECTED]> wrote:

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?

It's reachable from DECL_INITIAL of another referenced variable which we go through in find_referenced_vars.


Diego.

Reply via email to