diff options
author | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-07-26 08:23:58 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-07-26 08:23:58 +0000 |
commit | 63d1c7b35fe104326f278f45daf20743853920bb (patch) | |
tree | a52bd0b1bb36a9dba1bfbf17a55c904a10884e28 /gcc/dbxout.c | |
parent | 9b4f6a07a51dd570a2c50fe944e1fbd91f766e76 (diff) | |
download | gcc-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.c | 4 |
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) |