diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-26 08:23:58 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-26 08:23:58 +0000 |
commit | db77fe17b1e55336955cea4bbec2f4e312671f96 (patch) | |
tree | a52bd0b1bb36a9dba1bfbf17a55c904a10884e28 /gcc/tree-dump.c | |
parent | f6777b0a30e67053db325c6bf868d82ecd185c95 (diff) | |
download | gcc-db77fe17b1e55336955cea4bbec2f4e312671f96.tar.gz |
.:
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85187 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-dump.c')
-rw-r--r-- | gcc/tree-dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-dump.c b/gcc/tree-dump.c index d17a8f827be..c42e33f32f7 100644 --- a/gcc/tree-dump.c +++ b/gcc/tree-dump.c @@ -252,7 +252,7 @@ dequeue_and_dump (dump_info_p di) { unsigned ix; tree base; - tree accesses = BINFO_BASE_ACCESSES (t); + VEC (tree) *accesses = BINFO_BASE_ACCESSES (t); dump_child ("type", BINFO_TYPE (t)); @@ -262,7 +262,7 @@ dequeue_and_dump (dump_info_p di) dump_int (di, "bases", BINFO_N_BASE_BINFOS (t)); for (ix = 0; BINFO_BASE_ITERATE (t, ix, base); ix++) { - tree access = (accesses ? TREE_VEC_ELT (accesses, ix) + tree access = (accesses ? VEC_index (tree, accesses, ix) : access_public_node); const char *string = NULL; |