summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-20 13:56:19 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-20 13:56:19 +0000
commita26a5b2b169b9cb9474d31c430ae3f4b9e18becf (patch)
tree520a1fd84ff7ed0ea8faa83094cf0b3de670873c /gcc
parent4e88b09a9ed290bef31b75424db526024c80de98 (diff)
downloadgcc-a26a5b2b169b9cb9474d31c430ae3f4b9e18becf.tar.gz
.:
* tree.h (binfo_member): Remove. * tree.c (binfo_member): Remove. cp: * cp-tree.h (vec_binfo_member): Remove. * tree.c (vec_binfo_member): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84951 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/cp/ChangeLog3
-rw-r--r--gcc/cp/cp-tree.h1
-rw-r--r--gcc/cp/tree.c16
-rw-r--r--gcc/tree.c15
-rw-r--r--gcc/tree.h1
6 files changed, 9 insertions, 33 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c788fc6164c..0cac3ad110f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2004-07-20 Nathan Sidwell <nathan@codesourcery.com>
+ * tree.h (binfo_member): Remove.
+ * tree.c (binfo_member): Remove.
+
+2004-07-20 Nathan Sidwell <nathan@codesourcery.com>
+
* tree.h: Include vec.h
(DEF_VEC_P(tree)): New type.
(BINFO_BASE_BINFOS, BINFO_N_BASE_BINFOS, BINFO_BASE_BINFO): Adjust.
@@ -4362,4 +4367,5 @@
* libfuncs.h (LTI_gcov_init, gcov_init_libfunc): Remove.
* optabs.c (init_optabs): Don't set gcov_init_libfunc.
+VERSION_IDENT="CVS-$Name: $ $Revision: 1.46 $-$Date: 2004/07/08 15:54:45 $-UTC"
See ChangeLog.11 for earlier changes.
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index fd997b04349..53406d0c454 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,5 +1,8 @@
2004-07-20 Nathan Sidwell <nathan@codesourcery.com>
+ * cp-tree.h (vec_binfo_member): Remove.
+ * tree.c (vec_binfo_member): Remove.
+
* cp-tree.h (struct lang_type_class): Remove vfields field.
(CLASSTYPE_VFIELDS): Remove.
(SET_BINFO_NEW_VTABLE_MARKED): Adjust.
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 60217c4373e..a3779d88db5 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -4150,7 +4150,6 @@ extern tree array_type_nelts_total (tree);
extern tree array_type_nelts_top (tree);
extern tree break_out_target_exprs (tree);
extern tree get_type_decl (tree);
-extern tree vec_binfo_member (tree, tree);
extern tree decl_namespace_context (tree);
extern tree lvalue_type (tree);
extern tree error_type (tree);
diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c
index f005d7c4f7d..918849d4ab4 100644
--- a/gcc/cp/tree.c
+++ b/gcc/cp/tree.c
@@ -1396,22 +1396,6 @@ get_type_decl (tree t)
return 0;
}
-/* Return first vector element whose BINFO_TYPE is ELEM.
- Return 0 if ELEM is not in VEC. VEC may be NULL_TREE. */
-
-tree
-vec_binfo_member (tree elem, tree vec)
-{
- int i;
-
- if (vec)
- for (i = 0; i < TREE_VEC_LENGTH (vec); ++i)
- if (same_type_p (elem, BINFO_TYPE (TREE_VEC_ELT (vec, i))))
- return TREE_VEC_ELT (vec, i);
-
- return NULL_TREE;
-}
-
/* Returns the namespace that contains DECL, whether directly or
indirectly. */
diff --git a/gcc/tree.c b/gcc/tree.c
index b76b6288a5d..564cd0e9a22 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -953,21 +953,6 @@ purpose_member (tree elem, tree list)
return NULL_TREE;
}
-/* Return first list element whose BINFO_TYPE is ELEM.
- Return 0 if ELEM is not in LIST. */
-
-tree
-binfo_member (tree elem, tree list)
-{
- while (list)
- {
- if (elem == BINFO_TYPE (list))
- return list;
- list = TREE_CHAIN (list);
- }
- return NULL_TREE;
-}
-
/* Return nonzero if ELEM is part of the chain CHAIN. */
int
diff --git a/gcc/tree.h b/gcc/tree.h
index 32ede7256a7..09249bde3e9 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2752,7 +2752,6 @@ extern bool in_array_bounds_p (tree);
extern tree value_member (tree, tree);
extern tree purpose_member (tree, tree);
-extern tree binfo_member (tree, tree);
extern int attribute_list_equal (tree, tree);
extern int attribute_list_contained (tree, tree);