https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83765
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed Jan 10 14:23:29 2018 New Revision: 256428 URL: https://gcc.gnu.org/viewcvs?rev=256428&root=gcc&view=rev Log: 2018-01-10 Richard Biener <rguent...@suse.de> PR debug/83765 * dwarf2out.c (gen_subprogram_die): Hoist old_die && declaration early out so it also covers the case where we have a non-NULL origin. Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c