Re: Where to find global var declaration

2016-04-27 Thread Cristina Georgiana Opriceana
On Wed, Apr 27, 2016 at 4:54 PM, David Malcolm wrote: > On Wed, 2016-04-27 at 12:34 +0300, Cristina Georgiana Opriceana wrote: >> Hello, >> >> I tried to add a new global declaration of a pointer and I expected >> to >> see it in varpool nodes, but it does not appear there. >> >> ustackptr = build

Re: Where to find global var declaration

2016-04-27 Thread David Malcolm
On Wed, 2016-04-27 at 12:34 +0300, Cristina Georgiana Opriceana wrote: > Hello, > > I tried to add a new global declaration of a pointer and I expected > to > see it in varpool nodes, but it does not appear there. > > ustackptr = build_decl (UNKNOWN_LOCATION, > VAR_DE

Where to find global var declaration

2016-04-27 Thread Cristina Georgiana Opriceana
Hello, I tried to add a new global declaration of a pointer and I expected to see it in varpool nodes, but it does not appear there. ustackptr = build_decl (UNKNOWN_LOCATION, VAR_DECL, get_identifier ("ustackptr"), build_pointer_type(void_