Re: Avid ggc_alloc and push_cfun during LTO streaming

2019-10-11 Thread Jan Hubicka
> On Fri, Oct 11, 2019 at 11:03 AM Jan Hubicka wrote: > > > > Hi, > > this patch prevents tree creation druing WPA stream out (to avoid > > touching pages and triggering COW). It fixes the following > > - gimple streamer produces MEM_REF wrappings for global decls. > >This is to preserve the

Re: Avid ggc_alloc and push_cfun during LTO streaming

2019-10-11 Thread Richard Biener
On Fri, Oct 11, 2019 at 11:03 AM Jan Hubicka wrote: > > Hi, > this patch prevents tree creation druing WPA stream out (to avoid > touching pages and triggering COW). It fixes the following > - gimple streamer produces MEM_REF wrappings for global decls. >This is to preserve the type of acces

Avid ggc_alloc and push_cfun during LTO streaming

2019-10-11 Thread Jan Hubicka
Hi, this patch prevents tree creation druing WPA stream out (to avoid touching pages and triggering COW). It fixes the following - gimple streamer produces MEM_REF wrappings for global decls. This is to preserve the type of access and is not necessary for WPA->LTRANS streaming when decls ar