aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@gcc.gnu.org>2004-07-26 08:23:58 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-07-26 08:23:58 +0000
commit63d1c7b35fe104326f278f45daf20743853920bb (patch)
treea52bd0b1bb36a9dba1bfbf17a55c904a10884e28 /gcc/dbxout.c
parent9b4f6a07a51dd570a2c50fe944e1fbd91f766e76 (diff)
downloadgcc-63d1c7b35fe104326f278f45daf20743853920bb.zip
gcc-63d1c7b35fe104326f278f45daf20743853920bb.tar.gz
gcc-63d1c7b35fe104326f278f45daf20743853920bb.tar.bz2
tree.h (BINFO_BASE_ACCESSES): Accesses are a VEC(tree).
.: * tree.h (BINFO_BASE_ACCESSES): Accesses are a VEC(tree). (BINFO_BASE_ACCESS): Adjust. (BINFO_BASE_ACCESS_APPEND): New. (struct tree_binfo): Make base_accesses a VEC(tree) pointer. * dbxout.c (dbxout_type): Adjust binfo access accessing. * dwarf2out.c (gen_member_die): Likewise. * tree-dump.c (deque_and_dump): Likewise. cp: * decl.c (xref_basetypes): Adjust base access vector creation. * rtti.c (get_pseudo_ti_init, get_pseudo_ti_desc): Adjust base access accesses. * search.c (dynamic_cast_base_recurse, dfs_access_in_type): Likewise. From-SVN: r85187
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index 6a98b32..6630702 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -1684,6 +1684,7 @@ dbxout_type (tree type, int full)
{
int i;
tree child;
+ VEC (tree) *accesses = BINFO_BASE_ACCESSES (binfo);
if (use_gnu_debug_info_extensions)
{
@@ -1696,8 +1697,7 @@ dbxout_type (tree type, int full)
}
for (i = 0; BINFO_BASE_ITERATE (binfo, i, child); i++)
{
- tree access = (BINFO_BASE_ACCESSES (binfo)
- ? BINFO_BASE_ACCESS (binfo, i)
+ tree access = (accesses ? VEC_index (tree, accesses, i)
: access_public_node);
if (use_gnu_debug_info_extensions)