From: Kaveh R. Ghazi Date: Thu, 4 May 2000 18:15:24 +0000 (+0000) Subject: class.c (update_vtable_entry_for_fn): Prototype. X-Git-Tag: prereleases/libstdc++-2.92~6662 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1cea04347c2140f56f748438e0506db612856db9;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9ae429e89182..42f2338a887f 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 f0136b240a35..cbc367c3173e 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 ee7f90d31342..2e077c91f8db 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 9b70d4e4aaa3..33eb38eccbe4 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. */