https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549
--- Comment #32 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue Jun 2 12:33:02 2015 New Revision: 224029 URL: https://gcc.gnu.org/viewcvs?rev=224029&root=gcc&view=rev Log: 2015-06-02 Richard Biener <rguent...@suse.de> PR debug/65549 * dwarf2out.c (lookup_context_die): New function. (resolve_addr): Avoid forcing a full DIE for the target of a DW_TAG_GNU_call_site during late compilation. Instead create a stub DIE without a type if we have a context DIE present. * g++.dg/lto/pr65549_0.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/lto/pr65549_0.C Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/testsuite/ChangeLog