aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1999-11-23 09:47:08 -0500
committerJason Merrill <jason@gcc.gnu.org>1999-11-23 09:47:08 -0500
commitde6e505ec71b678f2b3646b8d1ff51a288c939be (patch)
tree0573f5246d35b1c671e116b2cae089881486beac /gcc/dwarf2out.c
parentc29f60c03cc219571c8c45ff8bb1b9b04efec478 (diff)
downloadgcc-de6e505ec71b678f2b3646b8d1ff51a288c939be.zip
gcc-de6e505ec71b678f2b3646b8d1ff51a288c939be.tar.gz
gcc-de6e505ec71b678f2b3646b8d1ff51a288c939be.tar.bz2
revert AT_containing_type change
From-SVN: r30639
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 884a518..c2926c3 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -8935,12 +8935,9 @@ gen_struct_or_union_type_die (type, context_die)
{
tree vtype = DECL_FCONTEXT (TYPE_VFIELD (type));
- if (vtype != type)
- {
- gen_type_die (vtype, context_die);
- add_AT_die_ref (type_die, DW_AT_containing_type,
- lookup_type_die (vtype));
- }
+ gen_type_die (vtype, context_die);
+ add_AT_die_ref (type_die, DW_AT_containing_type,
+ lookup_type_die (vtype));
}
}
else