This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/40109] Incorrect debug info nesting for typedef statements within namespaces



------- Comment #3 from dodji at gcc dot gnu dot org  2009-05-18 19:20 -------
Subject: Bug 40109

Author: dodji
Date: Mon May 18 19:19:52 2009
New Revision: 147674

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=147674
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:
    trunk/gcc/testsuite/g++.dg/debug/dwarf2/nested-1.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40109


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]