]> gcc.gnu.org Git - gcc.git/commit - gcc/ChangeLog
re PR debug/39471 (DW_TAG_imported_module should be used (not DW_TAG_imported_declara...
authorJakub Jelinek <jakub@redhat.com>
Tue, 17 Mar 2009 17:49:28 +0000 (18:49 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 17 Mar 2009 17:49:28 +0000 (18:49 +0100)
commita3f596ba3de6975109c5d3d5900a1693cfebb96d
tree10fca5d7225e35a93769e3b741ec499d6757e765
parent6b2b88712792698e1348e585ab91fa8518a250f0
re PR debug/39471 (DW_TAG_imported_module should be used (not DW_TAG_imported_declaration))

PR debug/39471
* dwarf2out.c (dwarf2out_imported_module_or_decl_1): Emit
DW_TAG_imported_module even if decl is IMPORTED_DECL with
NAMESPACE_DECL in its DECL_INITIAL.

* cp-gimplify.c (cp_gimplify_expr): Don't set DECL_NAME
on IMPORTED_DECL.

* g++.dg/debug/dwarf2/imported-module-2.C: Expect
DW_TAG_imported_module, not just any DW_TAG_imported prefixed tag.
* g++.dg/debug/dwarf2/imported-module-3.C: Likewise.
* g++.dg/debug/dwarf2/imported-module-4.C: Likewise.

From-SVN: r144911
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-gimplify.c
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/imported-module-2.C
gcc/testsuite/g++.dg/debug/dwarf2/imported-module-3.C
gcc/testsuite/g++.dg/debug/dwarf2/imported-module-4.C
This page took 0.061418 seconds and 5 git commands to generate.