OSDN Git Service

* Makefile.in (typeck2.o): Depend on output.h.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Nov 1999 09:21:53 +0000 (09:21 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Nov 1999 09:21:53 +0000 (09:21 +0000)
* typeck2.c: Include output.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30411 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/Makefile.in
gcc/cp/typeck2.c

index 228da44..19e5c97 100644 (file)
@@ -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
index 398703b..897697d 100644 (file)
@@ -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 \
index cb089d4..64671db 100644 (file)
@@ -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;