From 71144a650c7723a6548f4795eb7c09304c242a03 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Fri, 5 Nov 1999 09:21:53 +0000 Subject: [PATCH] Makefile.in (typeck2.o): Depend on output.h. * Makefile.in (typeck2.o): Depend on output.h. * typeck2.c: Include output.h. From-SVN: r30411 --- gcc/cp/ChangeLog | 30 ++++++++++++++++++++++++++++++ gcc/cp/Makefile.in | 2 +- gcc/cp/typeck2.c | 1 + 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 228da449145..19e5c975f29 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,33 @@ +1999-11-05 Mark Mitchell + + * 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 * class.c (check_bitfield_decl): New function, split out from diff --git a/gcc/cp/Makefile.in b/gcc/cp/Makefile.in index 398703b1a26..897697d0b65 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 cb089d41ec1..64671dbae2f 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; -- 2.30.2