https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71057
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue May 31 09:58:50 2016 New Revision: 236912 URL: https://gcc.gnu.org/viewcvs?rev=236912&root=gcc&view=rev Log: 2016-05-31 Richard Biener <rguent...@suse.de> Backport from mainline 2016-05-11 Richard Biener <rguent...@suse.de> PR debug/71057 * dwarf2out.c (retry_incomplete_types): Set early_dwarf. (dwarf2out_finish): Move retry_incomplete_types call ... (dwarf2out_early_finish): ... here. * g++.dg/debug/pr71057.C: New testcase. Added: branches/gcc-6-branch/gcc/testsuite/g++.dg/debug/pr71057.C Modified: branches/gcc-6-branch/gcc/ChangeLog branches/gcc-6-branch/gcc/dwarf2out.c branches/gcc-6-branch/gcc/testsuite/ChangeLog