]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
class.c (update_vtable_entry_for_fn): Prototype.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Thu, 4 May 2000 18:15:24 +0000 (18:15 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Thu, 4 May 2000 18:15:24 +0000 (18:15 +0000)
* 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
gcc/cp/class.c
gcc/cp/pt.c
gcc/cp/search.c

index 9ae429e8918236c601da75e68b08dd22dd8e7a8e..42f2338a887f5033891ead8c9fdcd7001220b41a 100644 (file)
@@ -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
index f0136b240a35ffb79b61aa79146a7a1cabf32b2b..cbc367c3173e1cc8ced88b697984ac03ba463d52 100644 (file)
@@ -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.  */
 
index ee7f90d31342aee3cf6e123e7aa56f29eb753874..2e077c91f8dbf97222ba98961ee4ad5af484e6ff 100644 (file)
@@ -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;
 
index 9b70d4e4aaa35ffd695584949b08502463c3dac2..33eb38eccbe4c9f8dbcc3c02e95818ace5273682 100644 (file)
@@ -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.  */