Commit 243f8437 authored by dpatel's avatar dpatel
Browse files

* dwarf2out.c (gen_field_die): Equate decl number to die.

        * g++.dg/debug/pr15736.cc: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87036 138bc75d-0d04-0410-961f-82ee72b054a4
parent 0bc2b406
2004-09-03 Devang Patel <dpatel@apple.com>
* dwarf2out.c (gen_field_die). Equate decl number to die.
2004-09-03 Vladimir Makarov <vmakarov@redhat.com>
PR target/15832
......
......@@ -11689,6 +11689,9 @@ gen_field_die (tree decl, dw_die_ref context_die)
add_AT_unsigned (decl_die, DW_AT_accessibility, DW_ACCESS_protected);
else if (TREE_PRIVATE (decl))
add_AT_unsigned (decl_die, DW_AT_accessibility, DW_ACCESS_private);
/* Equate decl number to die, so that we can look up this decl later on. */
equate_decl_number_to_die (decl, decl_die);
}
#if 0
......
2004-09-03 Devang Patel <dpatel@apple.com>
* g++.dg/debug/pr15736.cc: New test.
2004-09-02 Mark Mitchell <mark@codesourcery.com>
 
* README.QMTEST: Fix out-of-date link.
......
// Test PR 15736 fix
// Contributed by Devang Patel <dpatel@apple.com>
// { dg-do compile }
struct B {
int n;
};
struct A : B {
using B::n;
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment