libstdc++ regressions with "Move DECL_SECTION_NAME into symtab"

2014-06-14 Thread Hans-Peter Nilsson
On Wed, 11 Jun 2014, Jan Hubicka wrote: > * varasm.c (set_implicit_section): New function. > (resolve_unique_section): Use it to set implicit section > for aliases, too. > (get_named_text_section): Use symtab_get_node (decl)->implicit_section > (default_function_secti

Re: Move DECL_SECTION_NAME into symtab

2014-06-10 Thread Jan Hubicka
Hi, this patch proceeds with the conversion of sections to symtab. It adds the verifier I described in previous mail and fixes the fallout. It also moves implicit_section flag from decl to cgraph. Next step I would like to do is to add an hashtable dictionary of sections used and move representati

Re: Move DECL_SECTION_NAME into symtab

2014-06-10 Thread Jan Hubicka
> On Mon, Jun 9, 2014 at 4:34 AM, Jan Hubicka wrote: > > Hi, > > this patch follows the change to move DECL_COMDAT_GROUP by moving > > DECL_SECTION_NAME > > into symtab nodes instead of keeping it in decl_with_vis. (I pla to proceed > > with > > other symbol table related fields). > > > > It fol

Re: Move DECL_SECTION_NAME into symtab

2014-06-10 Thread Richard Biener
On Mon, Jun 9, 2014 at 4:34 AM, Jan Hubicka wrote: > Hi, > this patch follows the change to move DECL_COMDAT_GROUP by moving > DECL_SECTION_NAME > into symtab nodes instead of keeping it in decl_with_vis. (I pla to proceed > with > other symbol table related fields). > > It follows exactly same

Move DECL_SECTION_NAME into symtab

2014-06-08 Thread Jan Hubicka
Hi, this patch follows the change to move DECL_COMDAT_GROUP by moving DECL_SECTION_NAME into symtab nodes instead of keeping it in decl_with_vis. (I pla to proceed with other symbol table related fields). It follows exactly same path as the previous patch. Notable change is adding of node removal