------- Comment #3 from dodji at gcc dot gnu dot org 2008-09-23 13:08 ------- (From update of attachment 16393) The idea of the patch is to add an IMPORTED_DECL node to the lexical BLOCK enclosing the "using directive".This is done at gimplification time.
Then the patch modifies dwarf2out.c to recognize the new IMPORTED_DECL node and generate the DW_TAG_imported_module dwarf tag accordingly. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37410