Commit b3426eb9 by Geoffrey Keating Committed by Geoffrey Keating

Index: ChangeLog

2002-08-05  Geoffrey Keating  <geoffk@redhat.com>

	* attribs.c: Don't include obstack.h.
	* builtins.c: Likewise.
	* cfganal.c: Likewise.
	* cfgbuild.c: Likewise.
	* cfgcleanup.c: Likewise.
	* emit-rtl.c: Likewise.
	* loop.c: Likewise.
	* stmt.c: Likewise.

Index: cp/ChangeLog
2002-08-05  Geoffrey Keating  <geoffk@redhat.com>

	* class.c: Don't include obstack.h.
	(popclass):
	* decl2.c: Delete bogus comment.
	* error.c: Don't include obstack.h.
	* except.c: Likewise.
	(dump_type): Correct comment.
	* method.c: Don't include obstack.h.
	* tree.c: Likewise.

Index: java/ChangeLog
2002-08-05  Geoffrey Keating  <geoffk@redhat.com>

	* mangle_name.c: Don't include obstack.h twice.
	* xref.c: Don't include obstack.h.

From-SVN: r56055
parent b835f6f1
...@@ -29,7 +29,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -29,7 +29,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "ggc.h" #include "ggc.h"
#include "expr.h" #include "expr.h"
#include "tm_p.h" #include "tm_p.h"
#include "obstack.h"
#include "cpplib.h" #include "cpplib.h"
#include "target.h" #include "target.h"
#include "langhooks.h" #include "langhooks.h"
......
...@@ -25,7 +25,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -25,7 +25,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "real.h" #include "real.h"
#include "rtl.h" #include "rtl.h"
#include "tree.h" #include "tree.h"
#include "obstack.h"
#include "flags.h" #include "flags.h"
#include "regs.h" #include "regs.h"
#include "hard-reg-set.h" #include "hard-reg-set.h"
......
...@@ -28,7 +28,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -28,7 +28,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "insn-config.h" #include "insn-config.h"
#include "recog.h" #include "recog.h"
#include "toplev.h" #include "toplev.h"
#include "obstack.h"
#include "tm_p.h" #include "tm_p.h"
/* Store the data structures necessary for depth-first search. */ /* Store the data structures necessary for depth-first search. */
......
...@@ -45,7 +45,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -45,7 +45,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "except.h" #include "except.h"
#include "toplev.h" #include "toplev.h"
#include "timevar.h" #include "timevar.h"
#include "obstack.h"
static int count_basic_blocks PARAMS ((rtx)); static int count_basic_blocks PARAMS ((rtx));
static void find_basic_blocks_1 PARAMS ((rtx)); static void find_basic_blocks_1 PARAMS ((rtx));
......
...@@ -46,8 +46,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -46,8 +46,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "tm_p.h" #include "tm_p.h"
#include "target.h" #include "target.h"
#include "obstack.h"
/* cleanup_cfg maintains following flags for each basic block. */ /* cleanup_cfg maintains following flags for each basic block. */
enum bb_flags enum bb_flags
......
2002-08-05 Geoffrey Keating <geoffk@redhat.com>
* class.c: Don't include obstack.h.
(popclass):
* decl2.c: Delete bogus comment.
* error.c: Don't include obstack.h.
* except.c: Likewise.
(dump_type): Correct comment.
* method.c: Don't include obstack.h.
* tree.c: Likewise.
2002-08-04 Gabriel Dos Reis <gdr@nerim.net> 2002-08-04 Gabriel Dos Reis <gdr@nerim.net>
Fix PR/2213 Fix PR/2213
......
...@@ -35,8 +35,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -35,8 +35,6 @@ Boston, MA 02111-1307, USA. */
#include "lex.h" #include "lex.h"
#include "target.h" #include "target.h"
#include "obstack.h"
/* The number of nested classes being processed. If we are not in the /* The number of nested classes being processed. If we are not in the
scope of any class, this is zero. */ scope of any class, this is zero. */
...@@ -5547,8 +5545,6 @@ void ...@@ -5547,8 +5545,6 @@ void
popclass () popclass ()
{ {
poplevel_class (); poplevel_class ();
/* Since poplevel_class does the popping of class decls nowadays,
this really only frees the obstack used for these decls. */
pop_class_decls (); pop_class_decls ();
current_class_depth--; current_class_depth--;
......
...@@ -4330,8 +4330,7 @@ pop_scope (t) ...@@ -4330,8 +4330,7 @@ pop_scope (t)
} }
/* [basic.lookup.koenig] */ /* [basic.lookup.koenig] */
/* A non-zero return value in the functions below indicates an error. /* A non-zero return value in the functions below indicates an error. */
All nodes allocated in the procedure are on the scratch obstack. */
struct arg_lookup struct arg_lookup
{ {
......
...@@ -24,7 +24,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,7 +24,6 @@ Boston, MA 02111-1307, USA. */
#include "tree.h" #include "tree.h"
#include "cp-tree.h" #include "cp-tree.h"
#include "real.h" #include "real.h"
#include "obstack.h"
#include "toplev.h" #include "toplev.h"
#include "flags.h" #include "flags.h"
#include "diagnostic.h" #include "diagnostic.h"
...@@ -316,8 +315,8 @@ dump_template_bindings (parms, args) ...@@ -316,8 +315,8 @@ dump_template_bindings (parms, args)
} }
} }
/* Dump into the obstack a human-readable equivalent of TYPE. FLAGS /* Dump a human-readable equivalent of TYPE. FLAGS controls the
controls the format. */ format. */
static void static void
dump_type (t, flags) dump_type (t, flags)
......
...@@ -31,7 +31,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -31,7 +31,6 @@ Boston, MA 02111-1307, USA. */
#include "libfuncs.h" #include "libfuncs.h"
#include "cp-tree.h" #include "cp-tree.h"
#include "flags.h" #include "flags.h"
#include "obstack.h"
#include "output.h" #include "output.h"
#include "except.h" #include "except.h"
#include "toplev.h" #include "toplev.h"
......
...@@ -27,7 +27,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,7 +27,6 @@ Boston, MA 02111-1307, USA. */
#include "system.h" #include "system.h"
#include "tree.h" #include "tree.h"
#include "cp-tree.h" #include "cp-tree.h"
#include "obstack.h"
#include "rtl.h" #include "rtl.h"
#include "expr.h" #include "expr.h"
#include "output.h" #include "output.h"
......
...@@ -22,7 +22,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -22,7 +22,6 @@ Boston, MA 02111-1307, USA. */
#include "config.h" #include "config.h"
#include "system.h" #include "system.h"
#include "obstack.h"
#include "tree.h" #include "tree.h"
#include "cp-tree.h" #include "cp-tree.h"
#include "flags.h" #include "flags.h"
......
...@@ -50,7 +50,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -50,7 +50,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "insn-config.h" #include "insn-config.h"
#include "recog.h" #include "recog.h"
#include "real.h" #include "real.h"
#include "obstack.h"
#include "bitmap.h" #include "bitmap.h"
#include "basic-block.h" #include "basic-block.h"
#include "ggc.h" #include "ggc.h"
......
2002-08-05 Geoffrey Keating <geoffk@redhat.com>
* mangle_name.c: Don't include obstack.h twice.
* xref.c: Don't include obstack.h.
2002-08-04 Geoffrey Keating <geoffk@redhat.com> 2002-08-04 Geoffrey Keating <geoffk@redhat.com>
* class.c: (permanent_obstack): Delete declaration. * class.c: (permanent_obstack): Delete declaration.
......
...@@ -32,7 +32,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ ...@@ -32,7 +32,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "java-tree.h" #include "java-tree.h"
#include "obstack.h" #include "obstack.h"
#include "toplev.h" #include "toplev.h"
#include "obstack.h"
static void append_unicode_mangled_name PARAMS ((const char *, int)); static void append_unicode_mangled_name PARAMS ((const char *, int));
#ifndef HAVE_AS_UTF8 #ifndef HAVE_AS_UTF8
......
...@@ -31,8 +31,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ ...@@ -31,8 +31,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#include "xref.h" #include "xref.h"
#include "jcf.h" #include "jcf.h"
#include "parse.h" #include "parse.h"
#include "obstack.h"
static xref_flag_table xref_table [] = { static xref_flag_table xref_table [] = {
{NULL, NULL, NULL, NULL}, {NULL, NULL, NULL, NULL},
......
...@@ -38,7 +38,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -38,7 +38,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "system.h" #include "system.h"
#include "rtl.h" #include "rtl.h"
#include "tm_p.h" #include "tm_p.h"
#include "obstack.h"
#include "function.h" #include "function.h"
#include "expr.h" #include "expr.h"
#include "hard-reg-set.h" #include "hard-reg-set.h"
......
...@@ -46,7 +46,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -46,7 +46,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "expr.h" #include "expr.h"
#include "libfuncs.h" #include "libfuncs.h"
#include "hard-reg-set.h" #include "hard-reg-set.h"
#include "obstack.h"
#include "loop.h" #include "loop.h"
#include "recog.h" #include "recog.h"
#include "machmode.h" #include "machmode.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment