https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91772
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Wed Oct 23 12:31:24 2019 New Revision: 277319 URL: https://gcc.gnu.org/viewcvs?rev=277319&root=gcc&view=rev Log: 2019-10-23 Richard Biener <rguent...@suse.de> Backport from mainline 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. 2019-09-19 Richard Biener <rguent...@suse.de> PR tree-optimization/91812 * tree-ssa-phiprop.c (propagate_with_phi): Do not replace volatile loads. * gcc.dg/torture/pr91812.c: New testcase. 2019-09-17 Richard Biener <rguent...@suse.de> PR debug/91772 * dwarf2out.c (dwarf2out_late_global_decl): If early dwarf was missing generate locations only once. Added: branches/gcc-8-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr91887.C branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr91812.c Modified: branches/gcc-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/dwarf2out.c branches/gcc-8-branch/gcc/testsuite/ChangeLog branches/gcc-8-branch/gcc/tree-ssa-phiprop.c