https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65549
--- Comment #37 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Jun 11 13:39:56 2015 New Revision: 224375 URL: https://gcc.gnu.org/viewcvs?rev=224375&root=gcc&view=rev Log: 2015-06-11 Richard Biener <rguent...@suse.de> Backport from mainline, guarded with in_lto_p 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. Backport from mainline 2014-04-04 Jan Hubicka <hubi...@ucw.cz> PR ipa/59626 * lto-cgraph.c (input_overwrite_node): Check that partitioning flags are set only during streaming. * ipa.c (process_references, symtab_remove_unreachable_nodes): Drop bodies of always inline after early inlining. (symtab_remove_unreachable_nodes): Remove always_inline attribute. * gcc.dg/lto/pr59626_0.c: New testcase. * gcc.dg/lto/pr59626_1.c: New testcase. Added: branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/lto/pr59626_0.c branches/gcc-4_8-branch/gcc/testsuite/gcc.dg/lto/pr59626_1.c Modified: branches/gcc-4_8-branch/gcc/ChangeLog branches/gcc-4_8-branch/gcc/dwarf2out.c branches/gcc-4_8-branch/gcc/ipa.c branches/gcc-4_8-branch/gcc/testsuite/ChangeLog