This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] debug/92763 keep DIEs that might be used in DW_TAG_inlined_subroutine


On Mon, Jan 20, 2020 at 12:04:12PM +0100, Richard Biener wrote:
> 
> We were pruning type-local subroutine DIEs if their context is unused
> despite us later needing those DIEs as abstract origins for inlines.
> The patch makes code already present for -fvar-tracking-assignments
> unconditional.
> 
> Bootstrapped and tested on x86_64-unknown-linux-gnu, OK?
> 
> Thanks,
> Richard.
> 
> 2020-01-20  Richard Biener  <rguenther@suse.de>
> 
> 	PR debug/92763
> 	* dwarf2out.c (prune_unused_types): Unconditionally mark
> 	called function DIEs.
> 
> 	* g++.dg/debug/pr92763.C: New testcase.

Ok.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]