Re: Prune TYPE_FIELDS lists more in free_lang_data

2015-12-12 Thread Jan Hubicka
> On Fri, 11 Dec 2015, Jan Hubicka wrote: > > > > > > > We explicitely do not use debug-info-level tests in free-lang-data > > > to allow mixing -g and -g0 objects. Are you sure doing the above > > > doesn't mess up tree merging enough to effectively enlarge WPA > > > memory use and the merged

Re: Prune TYPE_FIELDS lists more in free_lang_data

2015-12-11 Thread Richard Biener
On Fri, 11 Dec 2015, Jan Hubicka wrote: > > > > We explicitely do not use debug-info-level tests in free-lang-data > > to allow mixing -g and -g0 objects. Are you sure doing the above > > doesn't mess up tree merging enough to effectively enlarge WPA > > memory use and the merged decl sections?

Prune TYPE_FIELDS lists more in free_lang_data

2015-12-11 Thread Jan Hubicka
Hi, this patch further reduce memory use and time of WPA stage, especially without -g phase opt and generate : 75.66 (39%) usr 1.78 (14%) sys 77.44 (37%) wall 855644 kB (21%) ggc phase stream in : 34.62 (18%) usr 1.95 (16%) sys 36.57 (18%) wall 3245604 kB (79%) ggc phase

Re: Prune TYPE_FIELDS lists more in free_lang_data

2015-12-11 Thread Richard Biener
On Fri, 11 Dec 2015, Jan Hubicka wrote: > Hi, > this patch further reduce memory use and time of WPA stage, especially > without -g > phase opt and generate : 75.66 (39%) usr 1.78 (14%) sys 77.44 (37%) > wall 855644 kB (21%) ggc > phase stream in : 34.62 (18%) usr 1.95 (16%)

Re: Prune TYPE_FIELDS lists more in free_lang_data

2015-12-11 Thread Jan Hubicka
> > We explicitely do not use debug-info-level tests in free-lang-data > to allow mixing -g and -g0 objects. Are you sure doing the above > doesn't mess up tree merging enough to effectively enlarge WPA > memory use and the merged decl sections? > > [I'm quite sure firefox build system manages