aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1997-08-20 20:50:39 -0400
committerJason Merrill <jason@gcc.gnu.org>1997-08-20 20:50:39 -0400
commit49c249e1c8aecde11d2166d5bfc6789cb3882172 (patch)
treec9fa739ae50f1adb0f63b8a81e6fb2113c2dacc5 /gcc/cp/pt.c
parent177873a5216e3c6c526885d9fcb836c17e6e0cd4 (diff)
downloadgcc-49c249e1c8aecde11d2166d5bfc6789cb3882172.zip
gcc-49c249e1c8aecde11d2166d5bfc6789cb3882172.tar.gz
gcc-49c249e1c8aecde11d2166d5bfc6789cb3882172.tar.bz2
[multiple changes]
Wed Aug 20 17:25:08 1997 Jason Merrill <jason@yorick.cygnus.com> * call.c (is_subseq): Don't try to be clever. Wed Aug 20 03:13:36 1997 H.J. Lu (hjl@gnu.ai.mit.edu) * parse.y, pt.c: Include "except.h". * call.c, class.c, class.h, cp-tree.h, cvt.c, decl.c, decl2.c, error.c, except.c, expr.c, friend.c, g++spec.c, init.c, input.c, lex.c, lex.h, method.c, parse.y, pt.c, repo.c, rtti.c, search.c, sig.c, spew.c, tree.c, typeck.c, typeck2.c, xref.c: Finish prototyping. Wed Aug 20 01:34:40 1997 Jason Merrill <jason@yorick.cygnus.com> * decl2.c (mark_vtable_entries): Instead of replacing pure virtuals with a reference to __pure_virtual, copy the decl and change the RTL. From-SVN: r14868
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r--gcc/cp/pt.c24
1 files changed, 14 insertions, 10 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index e13b19d..31007ec 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -40,6 +40,11 @@ Boston, MA 02111-1307, USA. */
#include "lex.h"
#include "output.h"
#include "defaults.h"
+#include "except.h"
+
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
extern struct obstack permanent_obstack;
@@ -61,18 +66,17 @@ int minimal_parse_mode;
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free
-static int unify ();
-
-void pop_template_decls ();
-
-static tree classtype_mangled_name ();
-static char * mangle_class_name_for_template ();
-static tree tsubst_expr_values ();
+static int unify PROTO((tree, tree *, int, tree, tree, int *, int));
+static void add_pending_template PROTO((tree));
+static int push_tinst_level PROTO((tree));
+static tree classtype_mangled_name PROTO((tree));
+static char *mangle_class_name_for_template PROTO((char *, tree, tree));
+static tree tsubst_expr_values PROTO((tree, tree));
static int comp_template_args PROTO((tree, tree));
-tree most_specialized_class PROTO((tree, tree));
+static int list_eq PROTO((tree, tree));
static tree get_class_bindings PROTO((tree, tree, tree));
-tree make_temp_vec PROTO((int));
-static tree tsubst_enum PROTO((tree, tree *, int));
+static tree coerce_template_parms PROTO((tree, tree, tree));
+static tree tsubst_enum PROTO((tree, tree *, int));
/* We've got a template header coming up; push to a new level for storing
the parms. */