summaryrefslogtreecommitdiff
path: root/gcc/cp/repo.c
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1996-02-28 22:01:56 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>1996-02-28 22:01:56 +0000
commite857e9c7f5d717cafc764e4dcae55b1637e0285e (patch)
tree7e6683aeddf5dd90371df24d386ca3fd7048ee5c /gcc/cp/repo.c
parent7ddfeb8fb5ee4ca4882a649d8e1858e23cd3160f (diff)
downloadgcc-e857e9c7f5d717cafc764e4dcae55b1637e0285e.tar.gz
83rd Cygnus<->FSF merge
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11362 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/repo.c')
-rw-r--r--gcc/cp/repo.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/gcc/cp/repo.c b/gcc/cp/repo.c
index 50fc9f8b727..6800512825b 100644
--- a/gcc/cp/repo.c
+++ b/gcc/cp/repo.c
@@ -49,6 +49,7 @@ extern struct obstack permanent_obstack;
#define IDENTIFIER_REPO_USED(NODE) (TREE_LANG_FLAG_3 (NODE))
#define IDENTIFIER_REPO_CHOSEN(NODE) (TREE_LANG_FLAG_4 (NODE))
+#if 0
/* Record the flags used to compile this translation unit. */
void
@@ -82,8 +83,9 @@ void
repo_class_defined (t)
tree t;
{}
+#endif
-tree
+static tree
repo_get_id (t)
tree t;
{
@@ -120,7 +122,7 @@ repo_template_used (t)
else if (TREE_CODE_CLASS (TREE_CODE (t)) == 'd')
{
if (IDENTIFIER_REPO_CHOSEN (id))
- mark_function_instantiated (t, 0);
+ mark_decl_instantiated (t, 0);
}
else
my_friendly_abort (1);
@@ -132,9 +134,10 @@ repo_template_used (t)
}
}
+#if 0
/* Note that the vtable for a class has been used, and offer to emit it. */
-void
+static void
repo_vtable_used (t)
tree t;
{
@@ -172,6 +175,7 @@ repo_tinfo_used (ti)
tree ti;
{
}
+#endif
void
repo_template_instantiated (t, extern_p)
@@ -246,7 +250,7 @@ static void
open_repo_file (filename)
char *filename;
{
- register char *p, *q;
+ register char *p;
char *s = get_base_filename (filename);
if (s == NULL)