This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/40109] Incorrect debug info nesting for typedef statements within namespaces
- From: "dodji at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 May 2009 19:26:53 -0000
- Subject: [Bug debug/40109] Incorrect debug info nesting for typedef statements within namespaces
- References: <bug-40109-16449@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from dodji at gcc dot gnu dot org 2009-05-18 19:26 -------
Subject: Bug 40109
Author: dodji
Date: Mon May 18 19:26:41 2009
New Revision: 147676
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147676
Log:
Fix for PR debug/40109
gcc/ChangeLog:
PR debug/40109
* dwarf2out.c (gen_type_die_with_usage): Generate the DIE as a
child of the containing namespace's DIE.
gcc/testsuite/ChangeLog:
PR debug/40109
* g++.dg/debug/dwarf2/nested-1.C: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/debug/dwarf2/nested-1.C
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/dwarf2out.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40109