From 1cea04347c2140f56f748438e0506db612856db9 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Thu, 4 May 2000 18:15:24 +0000 Subject: [PATCH] class.c (update_vtable_entry_for_fn): Prototype. * class.c (update_vtable_entry_for_fn): Prototype. * pt.c (tsubst_decl): Initialize variables `argvec', `gen_tmpl' and `tmpl'. * search.c (dfs_build_inheritance_graph_order): Prototype. From-SVN: r33678 --- gcc/cp/ChangeLog | 9 +++++++++ gcc/cp/class.c | 1 + gcc/cp/pt.c | 6 +++--- gcc/cp/search.c | 1 + 4 files changed, 14 insertions(+), 3 deletions(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9ae429e8918..42f2338a887 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,12 @@ +2000-05-04 Kaveh R. Ghazi + + * class.c (update_vtable_entry_for_fn): Prototype. + + * pt.c (tsubst_decl): Initialize variables `argvec', `gen_tmpl' + and `tmpl'. + + * search.c (dfs_build_inheritance_graph_order): Prototype. + 2000-05-04 Mark Mitchell * cp-tree.h (special_function_kind): Add various kinds of diff --git a/gcc/cp/class.c b/gcc/cp/class.c index f0136b240a3..cbc367c3173 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -175,6 +175,7 @@ static tree dfs_mark_primary_bases PARAMS ((tree, void *)); static void mark_primary_bases PARAMS ((tree)); static void clone_constructors_and_destructors PARAMS ((tree)); static tree build_clone PARAMS ((tree, tree)); +static void update_vtable_entry_for_fn PARAMS ((tree, tree, tree, tree *)); /* Variables shared between class.c and call.c. */ diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index ee7f90d3134..2e077c91f8d 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -5869,10 +5869,10 @@ tsubst_decl (t, args, type, in_decl) case VAR_DECL: { - tree argvec; - tree gen_tmpl; + tree argvec = NULL_TREE; + tree gen_tmpl = NULL_TREE; tree spec; - tree tmpl; + tree tmpl = NULL_TREE; tree ctx; int local_p; diff --git a/gcc/cp/search.c b/gcc/cp/search.c index 9b70d4e4aaa..33eb38eccbe 100644 --- a/gcc/cp/search.c +++ b/gcc/cp/search.c @@ -153,6 +153,7 @@ static void fixup_all_virtual_upcast_offsets PARAMS ((tree, tree)); static tree get_shared_vbase_if_not_primary PARAMS ((tree, void *)); static tree dfs_find_vbase_instance PARAMS ((tree, void *)); static tree dfs_get_pure_virtuals PARAMS ((tree, void *)); +static tree dfs_build_inheritance_graph_order PARAMS ((tree, void *)); /* Allocate a level of searching. */ -- 2.30.2