This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r138369 - in /branches/gcc-4_3-branch/gcc: Chan...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 31 Jul 2008 08:48:27 -0000
- Subject: r138369 - in /branches/gcc-4_3-branch/gcc: Chan...
Author: jakub
Date: Thu Jul 31 08:48:26 2008
New Revision: 138369
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138369
Log:
PR debug/36278
* dwarf2out.c (get_context_die): New function.
(force_decl_die, force_type_die): Use it.
(dwarf2out_imported_module_or_decl): Likewise. If base_type_die
returns NULL, force generation of DW_TAG_typedef and put that into
DW_AT_import.
* g++.dg/debug/namespace2.C: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/debug/namespace2.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