aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/repo.c
diff options
context:
space:
mode:
authorMike Stump <mrs@gcc.gnu.org>1996-02-28 22:01:56 +0000
committerMike Stump <mrs@gcc.gnu.org>1996-02-28 22:01:56 +0000
commit5566b478bdfe8bfc554a57f2631c1d3646ac4ae2 (patch)
tree7e6683aeddf5dd90371df24d386ca3fd7048ee5c /gcc/cp/repo.c
parent8bd04c565300c201dca9307a5a9173ed31d02494 (diff)
downloadgcc-5566b478bdfe8bfc554a57f2631c1d3646ac4ae2.zip
gcc-5566b478bdfe8bfc554a57f2631c1d3646ac4ae2.tar.gz
gcc-5566b478bdfe8bfc554a57f2631c1d3646ac4ae2.tar.bz2
83rd Cygnus<->FSF merge
From-SVN: r11362
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 50fc9f8..6800512 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)