* dwarf2out.c (gen_field_die): Equate decl number to die.
* g++.dg/debug/pr15736.cc: New test.
From-SVN: r87036
+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
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.
--- /dev/null
+// Test PR 15736 fix
+// Contributed by Devang Patel <dpatel@apple.com>
+// { dg-do compile }
+
+
+struct B {
+ int n;
+};
+
+struct A : B {
+ using B::n;
+};