Re: Remove non-var-decls from blocks in free_lang_data

2018-06-14 Thread Richard Biener
On Thu, 14 Jun 2018, Jan Hubicka wrote: > Hi, > this patch removes TYPE_DECLs and CONST_DECLs from block trees for LTO. > With early debug we have no good use for it anymore. > > ltobootstrapped/regtested x86-64-linux, OK? > > Honza > > * tree.c (find_decls_types_r): Remove all non-VAR_DE

Remove non-var-decls from blocks in free_lang_data

2018-06-14 Thread Jan Hubicka
Hi, this patch removes TYPE_DECLs and CONST_DECLs from block trees for LTO. With early debug we have no good use for it anymore. ltobootstrapped/regtested x86-64-linux, OK? Honza * tree.c (find_decls_types_r): Remove all non-VAR_DECLs from blocks. * g++.dg/lto/pr84805_0.C