Re: Free more of type decls

2018-10-26 Thread Richard Biener
On Fri, 26 Oct 2018, Jan Hubicka wrote: > > On Fri, Oct 26, 2018 at 9:12 AM Jan Hubicka wrote: > > > > > > Hi, > > > this patch frees TYPE_DECL and alignment from TYPE_DECL and also preserves > > > only those TYPE_DECL pointers that are actually used to build ODR type > > > tree. > > > > > > It

Re: Free more of type decls

2018-10-26 Thread Jan Hubicka
> On Fri, Oct 26, 2018 at 9:12 AM Jan Hubicka wrote: > > > > Hi, > > this patch frees TYPE_DECL and alignment from TYPE_DECL and also preserves > > only those TYPE_DECL pointers that are actually used to build ODR type tree. > > > > It reduces number of TYPE_DECLs streamed from WPA to ltrans to ab

Re: Free more of type decls

2018-10-26 Thread Richard Biener
On Fri, Oct 26, 2018 at 9:12 AM Jan Hubicka wrote: > > Hi, > this patch frees TYPE_DECL and alignment from TYPE_DECL and also preserves > only those TYPE_DECL pointers that are actually used to build ODR type tree. > > It reduces number of TYPE_DECLs streamed from WPA to ltrans to about 20% > and

Free more of type decls

2018-10-26 Thread Jan Hubicka
Hi, this patch frees TYPE_DECL and alignment from TYPE_DECL and also preserves only those TYPE_DECL pointers that are actually used to build ODR type tree. It reduces number of TYPE_DECLs streamed from WPA to ltrans to about 20% and is important for the patch turning types to incomplete types. Wi