On Thu, Jul 12, 2018 at 01:01:14PM +0200, Richard Biener wrote: > No, I don't think so. OK, I'll remove the loop over > BLOCK_NON_LOCALIZED_VAR and keep the original check for it. > > I also simplified stuff by hoisting the TREE_USED and friends checks. > > Bootstrap & regtest running on x86_64-unknown-linux-gnu, ok?
LGTM. > 2018-07-12 Richard Biener <rguent...@suse.de> > > PR debug/86462 > * dwarf2out.c (gen_block_die): Only output blocks when they have > at least one !DECL_IGNORED_P variable. Jakub