This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Symtab node table introduction and GGC issues
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: Martin Liška <mliska at suse dot cz>, David Malcolm <dmalcolm at redhat dot com>, GCC Development <gcc at gcc dot gnu dot org>
- Date: Fri, 25 Jul 2014 15:59:13 +0200
- Subject: Re: Symtab node table introduction and GGC issues
- Authentication-results: sourceware.org; auth=none
- References: <53D124F1 dot 4020308 at suse dot cz> <1406217190 dot 2134 dot 71 dot camel at surprise> <53D140A1 dot 7000500 at suse dot cz> <CAFiYyc12w3protdtXr6XcO38qgo_hZu-ysHGG9Z4=ZjO5oo0ew at mail dot gmail dot com>
> > 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 suggest an explicit marking function for this singleton
> (thus GTY((user))). Most pointers of the symtab stuff doesn't need following
> but everything is held together by the single array/map?
symtab is streamed to PCH, sadly, so you need to have enough of anotation to get
pointers fixed up at stream in.
honza
>
> Richard.
>
> > Thanks,
> > Martin
> >
> >
> >>
> >> Hope this is helpful
> >> Dave
> >>
> >