summaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 64fa5c96fc7..4a1037fdf72 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -11897,13 +11897,13 @@ gen_member_die (tree type, dw_die_ref context_die)
/* First output info about the base classes. */
if (binfo)
{
- tree accesses = BINFO_BASE_ACCESSES (binfo);
+ VEC (tree) *accesses = BINFO_BASE_ACCESSES (binfo);
int i;
tree base;
for (i = 0; BINFO_BASE_ITERATE (binfo, i, base); i++)
gen_inheritance_die (base,
- (accesses ? TREE_VEC_ELT (accesses, i)
+ (accesses ? VEC_index (tree, accesses, i)
: access_public_node), context_die);
}