OSDN Git Service

Index: ChangeLog
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Aug 2002 18:46:37 +0000 (18:46 +0000)
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 5 Aug 2002 18:46:37 +0000 (18:46 +0000)
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.

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

18 files changed:
gcc/attribs.c
gcc/builtins.c
gcc/cfganal.c
gcc/cfgbuild.c
gcc/cfgcleanup.c
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/decl2.c
gcc/cp/error.c
gcc/cp/except.c
gcc/cp/method.c
gcc/cp/tree.c
gcc/emit-rtl.c
gcc/java/ChangeLog
gcc/java/mangle_name.c
gcc/java/xref.c
gcc/loop.c
gcc/stmt.c

index cbeba86..c5a8a73 100644 (file)
@@ -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"
index 1dde0a0..a295a9a 100644 (file)
@@ -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"
index 24759e1..35ce07d 100644 (file)
@@ -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.  */
index 12dd200..97552f9 100644 (file)
@@ -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));
index 74b8d33..1d662ce 100644 (file)
@@ -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
index 63b8e2d..ddadb9c 100644 (file)
@@ -1,3 +1,14 @@
+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>
 
        Fix PR/2213
index 7129308..81b1a2c 100644 (file)
@@ -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--;
index cd02ae6..3f2fa1e 100644 (file)
@@ -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
 {
index 3a8f5e0..bf55e25 100644 (file)
@@ -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)
index b2d9fe0..321a142 100644 (file)
@@ -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"
index 81bcc95..42d405f 100644 (file)
@@ -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"
index e3ba4e1..369e46a 100644 (file)
@@ -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"
index 0bba4a2..26032c1 100644 (file)
@@ -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"
index b0469ae..e6e617c 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        * class.c: (permanent_obstack): Delete declaration.
index 38b6ec6..d46956c 100644 (file)
@@ -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
index b44fcc5..ff1da78 100644 (file)
@@ -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},
index 177c4c5..c0d20da 100644 (file)
@@ -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"
index 9220b37..550e3e7 100644 (file)
@@ -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"