2008-09-30 Dodji Seketeli <dodji@redhat.com> gcc/ChangeLog: PR c++/37410 * dwarf2out.c (dwarf2out_imported_module_or_decl): Split this function in two, making it call a new and reusable dwarf2out_imported_module_or_decl() that takes the containing BLOCK of the declaration in argument. (dwarf2out_imported_module_or_decl_real): New function. (decls_for_scope, gen_decl_die, dwarf2out_decl): Take IMPORTED_DECL in account. * tree.def: Added IMPORTED_DECL node type. * tree.h: Added accessors for IMPORTED_DECL nodes. * tree.c (init_ttree): Initialise IMPORTED_DECL node type. gcc/cp/ChangeLog: PR c++/37410 * cp-gimplify.c (cp_gimplify_expr): For each USING_STMT make sure an IMPORTED_DECL node is added to the BLOCK_VARS list of the innermost containing BLOCK. gcc/testsuite/ChangeLog: PR c++/37410 * g++.dg/debug/dwarf2/imported-module.C: New test. From-SVN: r140895
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| dwarf2 | Loading commit data... | |
| anonunion1.C | Loading commit data... | |
| const1.C | Loading commit data... | |
| const2.C | Loading commit data... | |
| const3.C | Loading commit data... | |
| const4.C | Loading commit data... | |
| crash1.C | Loading commit data... | |
| debug.exp | Loading commit data... | |
| debug1.C | Loading commit data... | |
| debug2.C | Loading commit data... | |
| debug3.C | Loading commit data... | |
| debug4.C | Loading commit data... | |
| debug5.C | Loading commit data... | |
| debug6.C | Loading commit data... | |
| debug7.C | Loading commit data... | |
| debug8.C | Loading commit data... | |
| debug9.C | Loading commit data... | |
| dwarf2-1.C | Loading commit data... | |
| dwarf2-2.C | Loading commit data... | |
| enum-1.C | Loading commit data... | |
| enum-2.C | Loading commit data... | |
| minimal1.C | Loading commit data... | |
| namespace1.C | Loading commit data... | |
| namespace2.C | Loading commit data... | |
| pr15736.cc | Loading commit data... | |
| pr16792.C | Loading commit data... | |
| pr22514.C | Loading commit data... | |
| pr27657.C | Loading commit data... | |
| pr29906.C | Loading commit data... | |
| pr30898.C | Loading commit data... | |
| pr34895.C | Loading commit data... | |
| static1.C | Loading commit data... | |
| template1.C | Loading commit data... | |
| trivial.C | Loading commit data... | |
| typedef1.C | Loading commit data... | |
| typedef2.C | Loading commit data... | |
| typedef3.C | Loading commit data... | |
| using1.C | Loading commit data... | |
| using2.C | Loading commit data... | |
| using3.C | Loading commit data... | |
| vartrack1.C | Loading commit data... |