Re: Symtab node table introduction and GGC issues

2014-07-25 Thread Jan Hubicka
> > Hello, > >thank you for you advice. It really looks that I face the same issue as > > you seen. As you suggested, I will start with a global pointer to symtab and > > we'll see further integration into context class (where it should reside > > according to me). > > Note that I would sugges

Re: Symtab node table introduction and GGC issues

2014-07-25 Thread Richard Biener
On Fri, Jul 25, 2014 at 12:24 PM, Richard Biener wrote: > On Thu, Jul 24, 2014 at 7:21 PM, Martin Liška wrote: >> >> On 07/24/2014 05:53 PM, David Malcolm wrote: >>> >>> On Thu, 2014-07-24 at 16:23 +0100, Martin Liška wrote: Hello, I would like to encapsulate all symtab_nodes

Re: Symtab node table introduction and GGC issues

2014-07-25 Thread Richard Biener
On Thu, Jul 24, 2014 at 7:21 PM, Martin Liška wrote: > > On 07/24/2014 05:53 PM, David Malcolm wrote: >> >> On Thu, 2014-07-24 at 16:23 +0100, Martin Liška wrote: >>> >>> Hello, >>> I would like to encapsulate all symtab_nodes to a class called >>> 'symtab'. >> >> Thanks! >> >>> To respect

Re: Symtab node table introduction and GGC issues

2014-07-24 Thread Martin Liška
On 07/24/2014 05:53 PM, David Malcolm wrote: On Thu, 2014-07-24 at 16:23 +0100, Martin Liška wrote: Hello, I would like to encapsulate all symtab_nodes to a class called 'symtab'. Thanks! To respect gcc:context, I would like to add the class to global context (gcc::context) and I have

Re: Symtab node table introduction and GGC issues

2014-07-24 Thread David Malcolm
On Thu, 2014-07-24 at 16:23 +0100, Martin Liška wrote: > Hello, > I would like to encapsulate all symtab_nodes to a class called > 'symtab'. Thanks! > To respect gcc:context, I would like to add the class to global > context (gcc::context) and I have troubles with GTY and GGC. > > design: >