diff options
author | Geoffrey Keating <geoffk@redhat.com> | 2002-08-04 22:45:31 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2002-08-04 22:45:31 +0000 |
commit | 6d9f628e059c1999f0469084e1e4e4774495f64f (patch) | |
tree | 1a2ee6015c9e6c4f08b35ecd8a67ece8bed0f090 /gcc/java | |
parent | 86a0cbcb9f15690df0f44ba0b6045206d096b0c6 (diff) | |
download | gcc-6d9f628e059c1999f0469084e1e4e4774495f64f.zip gcc-6d9f628e059c1999f0469084e1e4e4774495f64f.tar.gz gcc-6d9f628e059c1999f0469084e1e4e4774495f64f.tar.bz2 |
Index: ChangeLog
2002-08-04 Geoffrey Keating <geoffk@redhat.com>
* Makefile.in (sdbout.o): Doesn't need $(OBSTACK_H).
* collect2.h (permanent_obstack): Delete declaration.
* collect2.c (permanent_obstack): Delete definition.
(main): Don't initialise permanent_obstack. Use xstrdup instead.
* expr.c: Don't include obstack.h.
(permanent_obstack): Delete declaration.
* function.c: Don't include obstack.h.
(permanent_obstack): Delete declaration.
* integrate.c: Don't include obstack.h.
(function_maybepermanent_obstack): Delete declaration.
* print-tree.c (debug_tree): Use x*alloc not permalloc.
* sdbout.c (gen_fake_label): Use x*alloc not permalloc.
* tlink.c (pfgets): Use xstrdup not permanent_obstack.
* toplev.c (lang_independent_init): Rename init_obstacks to init_ttree.
* tree.h: Rename init_obstacks to init_ttree. Remove declarations
of permalloc, expralloc, perm_calloc.
* tree.c (permanent_obstack): Delete definition.
(init_ttree): Rename from init_obstacks.
(permalloc): Delete.
(perm_calloc): Delete.
(dump_tree_statistics): Don't print information about
permanent_obstack.
* varasm.c (assemble_start_function): Use xstrdup instead of
permalloc/strcpy.
(assemble_variable): Likewise.
* config/alpha/alpha.c (unicosmk_need_dex): Use xmalloc instead of
permalloc.
(unicosmk_add_extern): Likewise.
* config/c4x/c4x.c (c4x_external_ref): Likewise.
(c4x_global_label): Likewise.
* config/frv/frv.c (frv_encode_section_info): Likewise.
* config/i386/winnt.c (i386_pe_record_external_function): Likewise.
(i386_pe_record_exported_symbol): Likewise.
* config/mips/mips.c (mips_output_external): Likewise.
(mips_output_external_libcall): Likewise.
* config/pa/pa.c: (permanent_obstack): Delete declaration.
(output_call): Use ggc_strdup instead of allocating on
permanent_obstack.
* config/romp/romp.c: Include ggc.h.
(get_symref): Don't declare permanent_obstack, use ggc_strdup
intead of permanent_obstack.
* config/rs6000/aix31.h (ASM_OUTPUT_EXTERNAL): Use concat
instead of permalloc.
* config/rs6000/rs6000.c (rs6000_gen_section_name): Use xmalloc
instead of permalloc
* config/rs6000/xcoff.h (ASM_OUTPUT_EXTERNAL): Use concat
instead of permalloc.
* config/vax/vax.c (vms_check_external): Use xmalloc instead of
permalloc.
Index: cp/ChangeLog
2002-08-04 Geoffrey Keating <geoffk@redhat.com>
* cvt.c (ocp_convert): Delete obsolete code.
* parse.y (permanent_obstack): Delete declaration.
* pt.c (permanent_obstack): Delete declaration.
* repo.c (permanent_obstack): Delete declaration.
(open_repo_file): Use xmalloc instead of permanent_obstack.
(init_repo): Use xstrdup instead of permanent_obstack.
Index: java/ChangeLog
2002-08-04 Geoffrey Keating <geoffk@redhat.com>
* class.c: (permanent_obstack): Delete declaration.
* constants.c: (permanent_obstack): Delete declaration.
* except.c: (permanent_obstack): Delete declaration.
* expr.c: (permanent_obstack): Delete declaration.
* jcf-parse.c: (permanent_obstack): Delete declaration.
(saveable_obstack): Delete declaration.
* parse.h: (permanent_obstack): Delete declaration.
* typeck.c: (permanent_obstack): Delete declaration.
From-SVN: r56035
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 11 | ||||
-rw-r--r-- | gcc/java/class.c | 1 | ||||
-rw-r--r-- | gcc/java/constants.c | 2 | ||||
-rw-r--r-- | gcc/java/except.c | 2 | ||||
-rw-r--r-- | gcc/java/expr.c | 1 | ||||
-rw-r--r-- | gcc/java/jcf-parse.c | 2 | ||||
-rw-r--r-- | gcc/java/parse.h | 1 | ||||
-rw-r--r-- | gcc/java/typeck.c | 1 |
8 files changed, 11 insertions, 10 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 4393d5c..b0469ae 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,14 @@ +2002-08-04 Geoffrey Keating <geoffk@redhat.com> + + * class.c: (permanent_obstack): Delete declaration. + * constants.c: (permanent_obstack): Delete declaration. + * except.c: (permanent_obstack): Delete declaration. + * expr.c: (permanent_obstack): Delete declaration. + * jcf-parse.c: (permanent_obstack): Delete declaration. + (saveable_obstack): Delete declaration. + * parse.h: (permanent_obstack): Delete declaration. + * typeck.c: (permanent_obstack): Delete declaration. + 2002-08-04 Joseph S. Myers <jsm@polyomino.org.uk> * gcj.texi (version-gcc): Increase to 3.3. diff --git a/gcc/java/class.c b/gcc/java/class.c index f5c5597..e167e0d 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -60,7 +60,6 @@ static tree build_method_symbols_entry PARAMS ((tree)); static GTY(()) rtx registerClass_libfunc; static GTY(()) rtx registerResource_libfunc; -extern struct obstack permanent_obstack; struct obstack temporary_obstack; /* The compiler generates different code depending on whether or not diff --git a/gcc/java/constants.c b/gcc/java/constants.c index e3642d5..83c2e55 100644 --- a/gcc/java/constants.c +++ b/gcc/java/constants.c @@ -29,8 +29,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "toplev.h" #include "ggc.h" -extern struct obstack permanent_obstack; - static void set_constant_entry PARAMS ((CPool *, int, int, jword)); static int find_class_or_string_constant PARAMS ((CPool *, int, tree)); static int find_name_and_type_constant PARAMS ((CPool *, tree, tree)); diff --git a/gcc/java/except.c b/gcc/java/except.c index 5b31518..ef773e4 100644 --- a/gcc/java/except.c +++ b/gcc/java/except.c @@ -44,8 +44,6 @@ static void link_handler PARAMS ((struct eh_range *, struct eh_range *)); static void check_start_handlers PARAMS ((struct eh_range *, int)); static void free_eh_ranges PARAMS ((struct eh_range *range)); -extern struct obstack permanent_obstack; - struct eh_range *current_method_handlers; struct eh_range *current_try_block = NULL; diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 3b765e4..133fa03 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -86,7 +86,6 @@ static int emit_init_test_initialization PARAMS ((void **entry, static int get_offset_table_index PARAMS ((tree)); static GTY(()) tree operand_type[59]; -extern struct obstack permanent_obstack; static GTY(()) tree methods_ident; static GTY(()) tree ncode_ident; diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c index 3b1f5d6..fc755f0 100644 --- a/gcc/java/jcf-parse.c +++ b/gcc/java/jcf-parse.c @@ -66,9 +66,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #include "jcf.h" -extern struct obstack *saveable_obstack; extern struct obstack temporary_obstack; -extern struct obstack permanent_obstack; /* Set to non-zero value in order to emit class initilization code before static field references. */ diff --git a/gcc/java/parse.h b/gcc/java/parse.h index 4a15cf1..9d7b30a 100644 --- a/gcc/java/parse.h +++ b/gcc/java/parse.h @@ -31,7 +31,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ /* Extern global variable declarations */ extern int java_error_count; extern struct obstack temporary_obstack; -extern struct obstack permanent_obstack; extern int quiet_flag; #ifndef JC1_LITE diff --git a/gcc/java/typeck.c b/gcc/java/typeck.c index 86bc024..4a1894f 100644 --- a/gcc/java/typeck.c +++ b/gcc/java/typeck.c @@ -44,7 +44,6 @@ static tree lookup_do PARAMS ((tree, tree, tree, tree, tree (*)(tree))); static tree build_null_signature PARAMS ((tree)); tree * type_map; -extern struct obstack permanent_obstack; /* Set the type of the local variable with index SLOT to TYPE. */ |