https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91887
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Oct 17 06:16:50 2019 New Revision: 277090 URL: https://gcc.gnu.org/viewcvs?rev=277090&root=gcc&view=rev Log: 2019-10-17 Richard Biener <rguent...@suse.de> PR debug/91887 * dwarf2out.c (gen_formal_parameter_die): Also try to match context_die against a DW_TAG_GNU_formal_parameter_pack parent. * g++.dg/debug/dwarf2/pr91887.C: New testcase. Added: trunk/gcc/testsuite/g++.dg/debug/dwarf2/pr91887.C Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/testsuite/ChangeLog