diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-05-04 18:15:24 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-05-04 18:15:24 +0000 |
commit | 1cea04347c2140f56f748438e0506db612856db9 (patch) | |
tree | cf5d4dc982058804c087ecd26c284f9a136ae79c /gcc | |
parent | 2afc3e479c42804e47a9d30b143d6b5743b97729 (diff) | |
download | gcc-1cea04347c2140f56f748438e0506db612856db9.zip gcc-1cea04347c2140f56f748438e0506db612856db9.tar.gz gcc-1cea04347c2140f56f748438e0506db612856db9.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/cp/class.c | 1 | ||||
-rw-r--r-- | gcc/cp/pt.c | 6 | ||||
-rw-r--r-- | gcc/cp/search.c | 1 |
4 files changed, 14 insertions, 3 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 9ae429e..42f2338 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,12 @@ +2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * 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 <mark@codesourcery.com> * cp-tree.h (special_function_kind): Add various kinds of diff --git a/gcc/cp/class.c b/gcc/cp/class.c index f0136b2..cbc367c 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 ee7f90d..2e077c9 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 9b70d4e..33eb38e 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. */ |