http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52260
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-16 08:47:32 UTC --- Author: jakub Date: Thu Feb 16 08:47:24 2012 New Revision: 184303 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184303 Log: PR debug/52260 * dwarf2out.c (copy_decls_walk): Fill in *slot before traversing children with clone_tree_hash, not after it. * g++.dg/debug/dwarf2/pr52260.C: New test. Added: trunk/gcc/testsuite/g++.dg/debug/dwarf2/pr52260.C Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/testsuite/ChangeLog