From d531c71f79c2737689aab8810083c9c6d6d3f294 Mon Sep 17 00:00:00 2001 From: geoffk Date: Mon, 5 Aug 2002 18:46:37 +0000 Subject: Index: ChangeLog 2002-08-05 Geoffrey Keating * 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 * 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 * mangle_name.c: Don't include obstack.h twice. * xref.c: Don't include obstack.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56055 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/attribs.c | 1 - gcc/builtins.c | 1 - gcc/cfganal.c | 1 - gcc/cfgbuild.c | 1 - gcc/cfgcleanup.c | 2 -- gcc/cp/ChangeLog | 11 +++++++++++ gcc/cp/class.c | 4 ---- gcc/cp/decl2.c | 3 +-- gcc/cp/error.c | 5 ++--- gcc/cp/except.c | 1 - gcc/cp/method.c | 1 - gcc/cp/tree.c | 1 - gcc/emit-rtl.c | 1 - gcc/java/ChangeLog | 5 +++++ gcc/java/mangle_name.c | 1 - gcc/java/xref.c | 2 -- gcc/loop.c | 1 - gcc/stmt.c | 1 - 18 files changed, 19 insertions(+), 24 deletions(-) diff --git a/gcc/attribs.c b/gcc/attribs.c index cbeba86c2e8..c5a8a73026b 100644 --- a/gcc/attribs.c +++ b/gcc/attribs.c @@ -29,7 +29,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "ggc.h" #include "expr.h" #include "tm_p.h" -#include "obstack.h" #include "cpplib.h" #include "target.h" #include "langhooks.h" diff --git a/gcc/builtins.c b/gcc/builtins.c index 1dde0a034ee..a295a9aab34 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -25,7 +25,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "real.h" #include "rtl.h" #include "tree.h" -#include "obstack.h" #include "flags.h" #include "regs.h" #include "hard-reg-set.h" diff --git a/gcc/cfganal.c b/gcc/cfganal.c index 24759e1141e..35ce07d53fc 100644 --- a/gcc/cfganal.c +++ b/gcc/cfganal.c @@ -28,7 +28,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "insn-config.h" #include "recog.h" #include "toplev.h" -#include "obstack.h" #include "tm_p.h" /* Store the data structures necessary for depth-first search. */ diff --git a/gcc/cfgbuild.c b/gcc/cfgbuild.c index 12dd200a60f..97552f9afd9 100644 --- a/gcc/cfgbuild.c +++ b/gcc/cfgbuild.c @@ -45,7 +45,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "except.h" #include "toplev.h" #include "timevar.h" -#include "obstack.h" static int count_basic_blocks PARAMS ((rtx)); static void find_basic_blocks_1 PARAMS ((rtx)); diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c index 74b8d338ca9..1d662cee9b2 100644 --- a/gcc/cfgcleanup.c +++ b/gcc/cfgcleanup.c @@ -46,8 +46,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "tm_p.h" #include "target.h" -#include "obstack.h" - /* cleanup_cfg maintains following flags for each basic block. */ enum bb_flags diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 63b8e2d5efd..ddadb9c87e2 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,14 @@ +2002-08-05 Geoffrey Keating + + * 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 Fix PR/2213 diff --git a/gcc/cp/class.c b/gcc/cp/class.c index 7129308059a..81b1a2c25f5 100644 --- a/gcc/cp/class.c +++ b/gcc/cp/class.c @@ -35,8 +35,6 @@ Boston, MA 02111-1307, USA. */ #include "lex.h" #include "target.h" -#include "obstack.h" - /* The number of nested classes being processed. If we are not in the scope of any class, this is zero. */ @@ -5547,8 +5545,6 @@ void popclass () { 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 (); current_class_depth--; diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index cd02ae66254..3f2fa1e8b46 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -4330,8 +4330,7 @@ pop_scope (t) } /* [basic.lookup.koenig] */ -/* A non-zero return value in the functions below indicates an error. - All nodes allocated in the procedure are on the scratch obstack. */ +/* A non-zero return value in the functions below indicates an error. */ struct arg_lookup { diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 3a8f5e0041c..bf55e25d157 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -24,7 +24,6 @@ Boston, MA 02111-1307, USA. */ #include "tree.h" #include "cp-tree.h" #include "real.h" -#include "obstack.h" #include "toplev.h" #include "flags.h" #include "diagnostic.h" @@ -316,8 +315,8 @@ dump_template_bindings (parms, args) } } -/* Dump into the obstack a human-readable equivalent of TYPE. FLAGS - controls the format. */ +/* Dump a human-readable equivalent of TYPE. FLAGS controls the + format. */ static void dump_type (t, flags) diff --git a/gcc/cp/except.c b/gcc/cp/except.c index b2d9fe007ab..321a142173b 100644 --- a/gcc/cp/except.c +++ b/gcc/cp/except.c @@ -31,7 +31,6 @@ Boston, MA 02111-1307, USA. */ #include "libfuncs.h" #include "cp-tree.h" #include "flags.h" -#include "obstack.h" #include "output.h" #include "except.h" #include "toplev.h" diff --git a/gcc/cp/method.c b/gcc/cp/method.c index 81bcc951ce3..42d405f5e29 100644 --- a/gcc/cp/method.c +++ b/gcc/cp/method.c @@ -27,7 +27,6 @@ Boston, MA 02111-1307, USA. */ #include "system.h" #include "tree.h" #include "cp-tree.h" -#include "obstack.h" #include "rtl.h" #include "expr.h" #include "output.h" diff --git a/gcc/cp/tree.c b/gcc/cp/tree.c index e3ba4e10436..369e46a9f25 100644 --- a/gcc/cp/tree.c +++ b/gcc/cp/tree.c @@ -22,7 +22,6 @@ Boston, MA 02111-1307, USA. */ #include "config.h" #include "system.h" -#include "obstack.h" #include "tree.h" #include "cp-tree.h" #include "flags.h" diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index 0bba4a27f44..26032c16d35 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -50,7 +50,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "insn-config.h" #include "recog.h" #include "real.h" -#include "obstack.h" #include "bitmap.h" #include "basic-block.h" #include "ggc.h" diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index b0469aec351..e6e617c18a7 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +2002-08-05 Geoffrey Keating + + * mangle_name.c: Don't include obstack.h twice. + * xref.c: Don't include obstack.h. + 2002-08-04 Geoffrey Keating * class.c: (permanent_obstack): Delete declaration. diff --git a/gcc/java/mangle_name.c b/gcc/java/mangle_name.c index 38b6ec61ab9..d46956c983d 100644 --- a/gcc/java/mangle_name.c +++ b/gcc/java/mangle_name.c @@ -32,7 +32,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "java-tree.h" #include "obstack.h" #include "toplev.h" -#include "obstack.h" static void append_unicode_mangled_name PARAMS ((const char *, int)); #ifndef HAVE_AS_UTF8 diff --git a/gcc/java/xref.c b/gcc/java/xref.c index b44fcc59d64..ff1da78c2ea 100644 --- a/gcc/java/xref.c +++ b/gcc/java/xref.c @@ -31,8 +31,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "xref.h" #include "jcf.h" #include "parse.h" -#include "obstack.h" - static xref_flag_table xref_table [] = { {NULL, NULL, NULL, NULL}, diff --git a/gcc/loop.c b/gcc/loop.c index 177c4c5c919..c0d20da398c 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -38,7 +38,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "system.h" #include "rtl.h" #include "tm_p.h" -#include "obstack.h" #include "function.h" #include "expr.h" #include "hard-reg-set.h" diff --git a/gcc/stmt.c b/gcc/stmt.c index 9220b37e9d0..550e3e7e238 100644 --- a/gcc/stmt.c +++ b/gcc/stmt.c @@ -46,7 +46,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "expr.h" #include "libfuncs.h" #include "hard-reg-set.h" -#include "obstack.h" #include "loop.h" #include "recog.h" #include "machmode.h" -- cgit v1.2.1