aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-11-05 09:21:53 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-11-05 09:21:53 +0000
commit71144a650c7723a6548f4795eb7c09304c242a03 (patch)
treef15918c1cf6ba97955da773eb8eb1a03d6c6a937 /gcc
parentf4e2ed09c9c0251b5df11c1f800b2f51f5815593 (diff)
downloadgcc-71144a650c7723a6548f4795eb7c09304c242a03.zip
gcc-71144a650c7723a6548f4795eb7c09304c242a03.tar.gz
gcc-71144a650c7723a6548f4795eb7c09304c242a03.tar.bz2
Makefile.in (typeck2.o): Depend on output.h.
* Makefile.in (typeck2.o): Depend on output.h. * typeck2.c: Include output.h. From-SVN: r30411
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog30
-rw-r--r--gcc/cp/Makefile.in2
-rw-r--r--gcc/cp/typeck2.c1
3 files changed, 32 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 228da44..19e5c97 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,33 @@
+1999-11-05 Mark Mitchell <mark@codesourcery.com>
+
+ * Makefile.in (typeck2.o): Depend on output.h.
+ * typeck2.c: Include output.h.
+
+ * decl.c (flag_ansi): Remove declaration.
+
+ * pt.c (tinst_level_tick): Make it static.
+ (last_template_error_tick): Likewise.
+
+ * cp-tree.h (mapcar): Remove declaration.
+ (search_tree): Likewise.
+ (walk_tree_fn): New typedef.
+ (walk_tree): New function.
+ * tree.c (bot_manip): Change prototype. Adjust to be called via
+ walk_tree.
+ (bot_replace): Likewise.
+ (no_linkage_helper): Likewise.
+ (copy_tree_r): New function.
+ (search_tree): Rename, and adjust, to become ...
+ (walk_tree): New function.
+ (mapcar): Rtemove.
+ (target_remap): Remove.
+ (target_remap_count): Likewise.
+ (break_out_target_exprs): Use walk_tree.
+ * decl.c (local_variable_p): Change prototype.
+ (check_default_argument): Use walk_tree.
+ * pt.c (for_each_template_parm_r): New function, split out from ...
+ (for_each_template_parm): Here. Use it, via walk_tree.
+
1999-11-03 Mark Mitchell <mark@codesourcery.com>
* class.c (check_bitfield_decl): New function, split out from
diff --git a/gcc/cp/Makefile.in b/gcc/cp/Makefile.in
index 398703b..897697d 100644
--- a/gcc/cp/Makefile.in
+++ b/gcc/cp/Makefile.in
@@ -255,7 +255,7 @@ decl2.o : decl2.c $(CONFIG_H) $(CXX_TREE_H) $(srcdir)/../flags.h \
$(srcdir)/../toplev.h $(srcdir)/../dwarf2out.h $(srcdir)/../dwarfout.h \
$(srcdir)/../../include/splay-tree.h $(srcdir)/../ggc.h $(RTL_H)
typeck2.o : typeck2.c $(CONFIG_H) $(CXX_TREE_H) $(srcdir)/../flags.h \
- $(srcdir)/../system.h $(srcdir)/../toplev.h
+ $(srcdir)/../system.h $(srcdir)/../toplev.h $(srcdir)/../output.h
typeck.o : typeck.c $(CONFIG_H) $(CXX_TREE_H) $(srcdir)/../flags.h $(RTL_H) \
$(EXPR_H) $(srcdir)/../system.h $(srcdir)/../toplev.h
class.o : class.c $(CONFIG_H) $(CXX_TREE_H) $(srcdir)/../flags.h \
diff --git a/gcc/cp/typeck2.c b/gcc/cp/typeck2.c
index cb089d4..64671db 100644
--- a/gcc/cp/typeck2.c
+++ b/gcc/cp/typeck2.c
@@ -36,6 +36,7 @@ Boston, MA 02111-1307, USA. */
#include "cp-tree.h"
#include "flags.h"
#include "toplev.h"
+#include "output.h"
static tree process_init_constructor PROTO((tree, tree, tree *));
static void ack PVPROTO ((const char *, ...)) ATTRIBUTE_PRINTF_1;