aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-08-17 11:42:22 +0000
committerJeff Law <law@gcc.gnu.org>1998-08-17 05:42:22 -0600
commit69789cfc8fbd55fe43d995b79744511637983944 (patch)
tree23a55cb0a7131f9ee6cdcbd5f6c3c96fecbe40a4
parentefe3eb65d11662bad7ce28a0de578bfcd3abdaa5 (diff)
downloadgcc-69789cfc8fbd55fe43d995b79744511637983944.zip
gcc-69789cfc8fbd55fe43d995b79744511637983944.tar.gz
gcc-69789cfc8fbd55fe43d995b79744511637983944.tar.bz2
cp-tree.h (set_identifier_local_value): Provide prototype.
* cp-tree.h (set_identifier_local_value): Provide prototype. * decl2.c (do_namespace_alias): Remove unused variables `binding' and `old'. From-SVN: r21786
-rw-r--r--gcc/cp/ChangeLog7
-rw-r--r--gcc/cp/Make-lang.in4
-rw-r--r--gcc/cp/cp-tree.h1
-rw-r--r--gcc/cp/decl2.c3
4 files changed, 10 insertions, 5 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index faf9b68..a356da2 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,10 @@
+Mon Aug 17 10:40:18 1998 Jeffrey A Law (law@cygnus.com)
+
+ * cp-tree.h (set_identifier_local_value): Provide prototype.
+
+ * decl2.c (do_namespace_alias): Remove unused variables `binding'
+ and `old'.
+
Fri Aug 14 16:42:27 1998 Nick Clifton <nickc@cygnus.com>
* Makefile.in: Rename BBISON to BISON so that it can be properly
diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in
index be02cf1..2bea6a6 100644
--- a/gcc/cp/Make-lang.in
+++ b/gcc/cp/Make-lang.in
@@ -103,9 +103,9 @@ g++-cross$(exeext): g++$(exeext)
-rm -f g++-cross$(exeext)
cp g++$(exeext) g++-cross$(exeext)
-cxxmain.o: cplus-dem.c demangle.h
+cxxmain.o: $(srcdir)/../libiberty/cplus-dem.c demangle.h
rm -f cxxmain.c
- $(LN_S) $(srcdir)/cplus-dem.c cxxmain.c
+ $(LN_S) $(srcdir)/../libiberty/cplus-dem.c cxxmain.c
$(CC) -c -DMAIN $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-DVERSION=\"$(version)\" cxxmain.c
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index fdcd704..52727a3 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -2449,6 +2449,7 @@ extern tree perform_qualification_conversions PROTO((tree, tree));
/* decl.c */
/* resume_binding_level */
+extern void set_identifier_local_value PROTO((tree, tree));
extern int global_bindings_p PROTO((void));
extern int toplevel_bindings_p PROTO((void));
extern void keep_next_level PROTO((void));
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c
index 1176047..4ffba6f 100644
--- a/gcc/cp/decl2.c
+++ b/gcc/cp/decl2.c
@@ -4619,9 +4619,6 @@ void
do_namespace_alias (alias, namespace)
tree alias, namespace;
{
- tree binding;
- tree old;
-
if (TREE_CODE (namespace) != NAMESPACE_DECL)
{
/* The parser did not find it, so it's not there. */