OSDN Git Service

Mark ChangeLog
[pf3gnuchains/gcc-fork.git] / gcc / java / ChangeLog
index 1fe9902..b357bc0 100644 (file)
@@ -1,6 +1,662 @@
-2010-05-21  Steven Bosscher  <steven@gcc.gnu.org>
+2012-03-22  Release Manager
 
-       * typeck.c, decl.c, jcf-parse.c, except.c, expr.c:
+       * GCC 4.7.0 released.
+
+2012-01-23  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * lang.c (java_init_options_struct): Set
+       frontend_set_flag_trapping_math.
+
+2012-01-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * jcf-dump.c (version): Update copyright notice dates.
+
+2011-12-03  Matthias Klose  <doko@ubuntu.com>
+
+       * expr.c (SPECIAL_WIDE): Fix typo in message.
+
+2011-11-23  Jeffrey A Law  (law@cygnus.com)
+
+       * lang.c (java_init_options_struct): Disable optimizations
+       which assume a NULL pointer dereference will cause a fault.
+
+2011-11-07  Richard Henderson  <rth@redhat.com>
+
+       * builtins.c (compareAndSwapInt_builtin): Use can_compare_and_swap_p.
+       (compareAndSwapLong_builtin): Likewise.
+       (compareAndSwapObject_builtin): Likewise.
+       (VMSupportsCS8_builtin): Likewise.
+
+2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * Make-lang.in (jvspec.o): Pass SHLIB instead of SHLIB_LINK.
+
+2011-10-15  Tom Tromey  <tromey@redhat.com>
+           Dodji Seketeli  <dodji@redhat.com>
+
+       * jcf-parse.c (set_source_filename): Adjust to the new map API.
+
+2011-10-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       * class.c (build_static_field_ref): Delete old interface with two
+       parallel arrays to hold standard builtin declarations, and replace
+       it with a function based interface that can support creating
+       builtins on the fly in the future.  Change all uses, and poison
+       the old names.  Make sure 0 is not a legitimate builtin index.
+       * decl.c (java_init_decl_processing): Ditto.
+       * except.c (compareAndSwapLong_builtin): Ditto.
+       (compareAndSwapObject_builtin): Ditto.
+       (putVolatile_builtin): Ditto.
+       (define_builtin): Ditto.
+       (check_for_builtin): Ditto.
+       * expr.c (rewrite_arglist_getcaller): Ditto.
+       (expand_java_field_op): Ditto.
+
+2011-08-24  Joseph Myers  <joseph@codesourcery.com>
+
+       * Make-lang.in (CFLAGS-java/jcf-io.o, CFLAGS-java/jcf-path.o):
+       New.
+       (java/jcf-io.o, java/jcf-path.o): Remove explicit compilation
+       rules.
+
+2011-08-18  Peter Collingbourne  <peter@pcc.me.uk>
+
+       * expr.c (expand_invoke) Use the type of the method rewrite
+       target.
+
+2011-08-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * jcf-dump.c (print_constant): Cast first frexp arg.
+
+2011-08-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * Make-lang.in ($(XGCJ)$(exeext)): Add $(EXTRA_GCC_LIBS).
+
+2011-07-19  Richard Guenther  <rguenther@suse.de>
+
+       * builtins.c (static): Use fold_build_pointer_plus.
+       * class.c (make_class_data): Likewise.
+       (build_symbol_entry): Likewise.
+       * except.c (build_exception_object_ref): Likewise.
+       * expr.c (build_java_arrayaccess): Likewise.
+       (build_field_ref): Likewise.
+       (build_known_method_ref): Likewise.
+       (build_invokevirtual): Likewise.
+
+2011-07-06  Richard Guenther  <rguenther@suse.de>
+
+       * decl.c (java_init_decl_processing):
+       Merge calls to build_common_tree_nodes and build_common_tree_nodes_2.
+
+2011-06-21  Andrew MacLeod  <amacleod@redhat.com>
+
+       * builtins.c: Add sync_ or SYNC__ to builtin names.
+       * expr.c: Add sync_ or SYNC__ to builtin names.
+
+2011-06-07  Richard Guenther  <rguenther@suse.de>
+
+       * decl.c (java_init_decl_processing): Call build_common_nodes,
+       build_common_nodes_2 at the beginning.  Remove then duplicate
+       initializations.
+
+2011-06-07  Richard Guenther  <rguenther@suse.de>
+
+       * decl.c (java_init_decl_processing): Properly initialize
+       size_type_node.
+
+2011-05-30  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       PR middle-end/46500
+       * expr.c: Include "tm.h" .
+
+2011-05-26  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * decl.c (poplevel): Don't access TREE_TYPE of BLOCKs.
+       * expr.c (build_jni_stub): Likewise.
+
+2011-05-24  Joseph Myers  <joseph@codesourcery.com>
+
+       * Make-lang.in ($(XGCJ)$(exeext)): Use libcommon-target.a instead
+       of prefix.o.
+
+2011-05-20  Joseph Myers  <joseph@codesourcery.com>
+
+       * Make-lang.in ($(XGCJ)$(exeext)): Don't explicitly use intl.o and
+       version.o.
+       (JCFDUMP_OBJS): Remove errors.o, version.o and intl.o.
+       (JVGENMAIN_OBJS): Remove errors.o and intl.o.
+       (java/jcf-dump.o, java/jvgenmain.o): Depend in $(DIAGNOSTIC_H).
+       * jcf-dump.c: Include diagnostic.h.
+       (main): Initialize diagnostics.
+       * jvgenmain.c: Include diagnostic.h.
+       (main): Initialize diagnostics.
+
+2011-05-11  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * java-tree.h (TYPE_ARGUMENT_SIGNATURE): Use TYPE_MINVAL.
+
+2011-05-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * java-tree.h (global_bindings_p): Adjust prototype.
+       * decl.c (global_bindings_p): Return bool.
+
+2011-05-05  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * expr.c (expand_java_switch): Call build_case_label.
+       (expand_java_add_case): Likewise.
+
+2011-04-29  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/48819
+       * constants.c (build_constants_constructor): Use ptr_type_node for
+       temp.
+
+2011-04-20  Jim Meyering  <meyering@redhat.com>
+
+       * jcf-parse.c (java_parse_file): Remove useless if-before-free.
+
+2011-04-18  Jim Meyering  <meyering@redhat.com>
+
+       * jcf-parse.c: Fix typo in comment.
+
+2011-04-14  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * decl.c (poplevel): Use BLOCK_CHAIN and block_chainon.
+
+2011-04-12  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * java-tree.h (union lang_tree_node): Check for TS_COMMON before
+       calling TREE_CHAIN.
+
+2011-04-11  Martin Jambor  <mjambor@suse.cz>
+
+       * decl.c (java_mark_decl_local): Call cgraph_get_node instead of
+       cgraph_node and handle returned NULL.
+
+2011-03-25  Kai Tietz  <ktietz@redhat.com>
+
+       * jcf-parse.c (java_read_sourcefilenames): Use filename_cmp
+       instead of strcmp.
+       (set_source_filename): Likewise.
+       * win32-host.c (jcf_open_exact_case): Likewise.
+
+2011-03-21  Kai Tietz  <ktietz@redhat.com>
+
+       PR target/12171
+       * lang.c (java_attribute_table): Adjust table.
+
+2011-02-13  Joseph Myers  <joseph@codesourcery.com>
+
+       * jvspec.c (jvgenmain_spec): Remove %{a*}.
+
+2011-01-21  Kai Tietz  <kai.tietz@onevision.com>
+
+       PR bootstrap/47215
+       * decl.c (java_init_decl_processing): Remove
+       va_list_type_node related type initializations.
+
+2011-01-11  Kai Tietz  <kai.tietz@onevision.com>
+
+       PR bootstrap/47215
+       * decl.c (java_init_decl_processing): Initialize
+       long_integer_type_node.
+
+2011-01-07  Kai Tietz  <kai.tietz@onevision.com>
+
+       PR bootstrap/47215
+       * decl.c (java_init_decl_processing): Initialize unsigned_type_node.
+
+2011-01-07  Kai Tietz  <kai.tietz@onevision.com>
+
+       * decl.c (java_init_decl_processing): Setup va_list_type_node.
+
+2011-01-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * jcf-dump.c (version): Update copyright notice dates.
+
+2010-12-15  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * decl.c (java_init_decl_processing): Initialise integer_three_node.
+       * lang.c (put_decl_node): Handle nested function decls.
+
+2010-12-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * jcf-parse.c: Don't include assert.h.
+       (java_parse_file): Use gcc_assert.
+
+2010-12-03  Joseph Myers  <joseph@codesourcery.com>
+
+       * lang.opt (static-libgcj): New option.
+
+2010-12-01  Joseph Myers  <joseph@codesourcery.com>
+
+       * jcf-parse.c: Don't include toplev.h.
+       * Make-lang.in (java/jcf-parse.o): Don't depend on toplev.h.
+
+2010-11-30  Joseph Myers  <joseph@codesourcery.com>
+
+       * boehm.c: Don't include toplev.h.
+       * Make-lang.in (java/boehm.o): Don't depend on toplev.h.
+
+2010-11-30  Joseph Myers  <joseph@codesourcery.com>
+
+       * expr.c, lang.c, mangle.c, mangle_name.c, typeck.c,
+       verify-glue.c: Don't include toplev.h.
+       * Make-lang.in: Dependencies for above files changed to remove
+       toplev.h.
+
+2010-11-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * boehm.c: Include "config.h" instead of <config.h>.
+       * builtins.c: Don't include <stdarg.h>.
+       * class.c: Don't include "stdio.h".
+       (O_BINARY): Don't define here.
+       * jcf-depend.c: Don't include <assert.h>.
+       (jcf_dependency_set_dep_file, jcf_dependency_init,
+       jcf_dependency_write): Use gcc_assert.
+       * jcf-io.c (O_BINARY): Don't define here.
+       * jcf-path.c: Don't include "tm.h".
+       (jcf_path_init): Use getenv instead of GET_ENVIRONMENT.
+       * resource.c: Don't include "stdio.h".
+       (O_BINARY): Don't define here.
+       * verify-impl.c: Don't include <stdio.h>.
+
+2010-11-17  Joseph Myers  <joseph@codesourcery.com>
+
+       * jcf-parse.c (java_parse_file): Take no arguments.
+       * java-tree.h (java_parse_file): Update prototype.
+
+2010-11-09  Joern Rennecke  <amylaar@spamcop.net>
+           Andrew Haley  <aph@redhat.com>
+
+       PR java/46386
+       * config/pdp11/t-pdp11 (java/constants.o-warn): Remove.
+
+2010-11-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * Make-lang.in (jvspec.o, java/lang.o): Use $(OPTS_H).
+       * lang.c (java_handle_option): Take location_t parameter.
+
+2010-11-10  Joseph Myers  <joseph@codesourcery.com>
+
+       * expr.c (expand_java_field_op): Use %' in diagnostic.
+       * jcf-parse.c (java_parse_file): Use %' in diagnostics.
+       * jvspec.c (lang_specific_driver): Use %' in diagnostic.
+       * lang.c (java_post_options): Use %' in diagnostics.
+
+2010-11-06  Joern Rennecke  <amylaar@spamcop.net>
+
+       PR middle-end/46314
+       * class.c: Include target.h.
+       (make_local_function_alias):
+       Use targetm.asm_out.generate_internal_label.
+       * expr.c (lookup_label, generate_name): Likewise.
+
+2010-11-03  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       PR bootstrap/44335
+       * jfc-parse.c (target.h): Include.
+       (handle_constant): Use targetm.words_big_endian and
+       targetm.float_words_big_endian.
+       (get_constant): Use targetm.float_words_big_endian.
+
+2010-10-13  Richard Henderson  <rth@redhat.com>
+
+       * lang.c (java_eh_personality): Update call to
+       build_personality_function.
+
+2010-10-12  Joseph Myers  <joseph@codesourcery.com>
+
+       * Make-lang.in (java/lang.o): Use $(OPTIONS_H) instead of
+       options.h.
+
+2010-10-11  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * decl.c (java_init_decl_processing): Use build_function_type_list
+       instead of build_function_type.
+       * jcf-parse.c (java_emit_static_constructor): Likewise.
+       * builtins.c (initialize_builtins): Likewise.
+
+2010-10-08  Joseph Myers  <joseph@codesourcery.com>
+
+       * lang.c (java_init_options_struct): New.  Split out from
+       java_init_options.
+       (LANG_HOOKS_INIT_OPTIONS_STRUCT): Define.
+
+2010-10-04  Andi Kleen <ak@linux.intel.com>
+
+       * Make-lang.in (xgcj, jc1, jcf-dump, jvgenmain):
+       Add + to build rule.
+
+2010-09-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * lang.opt: Don't use VarExists.
+
+2010-09-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * java-tree.h (flag_filelist_file, flag_assert, flag_jni,
+       flag_force_classes_archive_check, flag_redundant, flag_newer,
+       flag_use_divide_subroutine, flag_use_atomic_builtins,
+       flag_use_boehm_gc, flag_hash_synchronization,
+       flag_check_references, flag_optimize_sci, flag_indirect_classes,
+       flag_indirect_dispatch, flag_store_check,
+       flag_reduced_reflection): Remove.
+       * jcf-dump.c (flag_newer): Remove.
+       * jcf.h (quiet_flag): Remove.
+       * parse.h (quiet_flag): Remove.
+
+2010-09-28  Richard Henderson  <rth@redhat.com>
+
+       * lang.c: Include "target.h".
+       (java_eh_personality): Use targetm.except_unwind_info.
+       * Make-lang.in (lang.o): Update deps.
+
+2010-09-27  Andrew Haley  <aph@redhat.com>
+
+       PR java/45773
+       * jvgenmain.c (main): Fix arg processing.
+
+2010-09-22  Joseph Myers  <joseph@codesourcery.com>
+
+       * jvspec.c (lang_specific_driver): Handle OPT__help instead of
+       OPT_fhelp.
+       * lang.opt (-CLASSPATH, -all-warnings, -bootclasspath, -classpath,
+       -dependencies, -encoding, -extdirs, -include-directory,
+       -include-directory=, -output-class-directory,
+       -output-class-directory=, -resource, -resource=,
+       -user-dependencies): New.
+
+2010-09-16  Richard Guenther  <rguenther@suse.de>
+
+       * jcf-parse.c (current_file_list): Remove.
+       (java_parse_file): Use build_translation_unit_decl.  Adjust.
+
+2010-09-03  Joseph Myers  <joseph@codesourcery.com>
+
+       * lang.opt (d): New.
+
+2010-09-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR java/45504
+       * jvgenmain.c (main): Check "-D XXX=YYY".
+
+2010-09-02  Joseph Myers  <joseph@codesourcery.com>
+
+       * jvspec.c (jvgenmain_spec): Don't handle -fnew-verifier.
+
+2010-09-02  Joseph Myers  <joseph@codesourcery.com>
+
+       * lang.opt (CLASSPATH, bootclasspath, classpath, encoding,
+       fCLASSPATH=): Mark as Java options and as aliases.
+       * jvspec.c (jvgenmain_spec): Don't handle -fCLASSPATH*.
+       (lang_specific_driver): Don't handle options marked as aliases.
+       * lang.c (java_handle_option): Don't handle OPT_fCLASSPATH_.
+
+2010-08-22  Joseph Myers  <joseph@codesourcery.com>
+
+       * Make-lang.in (jvspec.o): Update dependencies.
+       * jvspec.c: Include opts.h.
+       (PARAM_ARG): Remove.
+       (find_spec_file): Do not add leading -specs=.
+       (lang_specific_driver): Use cl_decoded_option structures.
+       * lang.opt (C, CLASSPATH, D, bootclasspath, classpath, encoding,
+       extdirs, fmain=, s-bc-abi): New options.
+
+2010-08-20  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * class.c: Use FOR_EACH_VEC_ELT.
+       * expr.c: Likewise.
+       * jcf-parse.c: Likewise.
+       * resource.c: Likewise.
+
+2010-08-16  Joseph Myers  <joseph@codesourcery.com>
+
+       * lang.opt (MD_, MMD_, version): Mark RejectDriver.
+
+2010-08-05  David Daney  <ddaney@caviumnetworks.com>
+
+       * class.c (build_utf8_ref): Fix code formatting from previous commit.
+
+2010-08-05  David Daney  <ddaney@caviumnetworks.com>
+
+       * class.c (build_utf8_ref): Make decl DECL_USER_ALIGN.
+
+2010-07-27  Joseph Myers  <joseph@codesourcery.com>
+
+       * lang.c (java_handle_option): Update prototype and return value
+       type.
+
+2010-07-27  Joseph Myers  <joseph@codesourcery.com>
+
+       * lang.c (java_option_lang_mask): New.
+       (java_init_options): Update prototype.
+       (LANG_HOOKS_OPTION_LANG_MASK): Define.
+
+2010-07-15  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * java-tree.h: Carefully replace TREE_CHAIN with DECL_CHAIN.
+       * boehm.c: Likewise.
+       * class.c: Likewise.
+       * decl.c: Likewise.
+       * expr.c: Likewise.
+       * jcf-parse.c: Likewise.
+       * typeck.c: Likewise.
+       * verify-glue.c: Likewise.
+
+2010-07-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+
+       * boehm.c: Include diagnostic-core.h in every file that includes
+       toplev.h.
+       * class.c: Likewise.
+       * constants.c: Likewise.
+       * decl.c: Likewise.
+       * except.c: Likewise.
+       * expr.c: Likewise.
+       * jcf-parse.c: Likewise.
+       * mangle.c: Likewise.
+       * mangle_name.c: Likewise.
+       * resource.c: Likewise.
+       * typeck.c: Likewise.
+       * verify-glue.c: Likewise.
+
+2010-07-05  Nathan Froyd  <froydnj@codesourcery.com>
+
+       PR bootstrap/44825
+       * class.c (make_class_data): Cast result of VEC_length calls to int.
+
+2010-07-05  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * constants.c (build_constants_constructor): Use build_constructor
+       instead of build_constructor_from_list.
+       * class.c (make_method_value): Likewise.
+       (get_dispatch_table): Likewise.
+       (make_class_data): Likewise.
+       (emit_indirect_register_classes): Likewise.
+       (emit_symbol_table): Likewise.
+       (add_assertion_table_entry): Likewise.
+       (emit_assertion_table): Likewise.
+       (make_field_value): Use build_constructor_single instead of
+       build_constructor_from_list.
+
+2010-06-28  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * java-tree.h (struct lang_type) [catch_classes]: Change type to a
+       VEC.
+       * except.c (prepare_eh_table_type): Call CONSTRUCTOR_APPEND_ELT
+       instead of tree_cons.
+       * class.c (make_class): Add dummy entry to TYPE_CATCH_CLASSES.
+       (emit_catch_table): Adjust for new type of TYPE_CATCH_CLASSES.
+
+2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * lang.c: Do not include except.h
+       * except.c: Likewise.
+       (doing_eh): New, moved from except.c (in gcc/) but removed the
+       do_warning flag.
+       (maybe_start_try): Update doing_eh call.
+       * Make-lang.in: Update dependencies.
+
+2010-06-23  Anatoly Sokolov  <aesok@post.ru>
+
+       * decl.c (java_init_decl_processing): Use double_int_to_tree instead
+       of build_int_cst_wide.
+       * boehm.c (set_bit): Remove.
+       (mark_reference_fields): Use double_int type for 'mask' argument.
+       Use double_int_setbit instead of set_bit.
+       (get_boehm_type_descriptor): Use double_int_setbit instead of
+       set_bit. Use double_int_to_tree instead of build_int_cst_wide.
+
+2010-06-10  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * gcj.texi: Move to GFDL version 1.3.  Fix copyright years.
+
+2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
+
+       * jcf-reader.c (jcf_parse_constant_pool): Use typed GC allocation.
+
+       * jcf-parse.c (java_parse_file): Likewise.
+       (process_zip_dir): Likewise.
+
+       * java-tree.h (MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC): Likewise.
+       (MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Likewise.
+
+       * expr.c (add_type_assertion): Likewise.
+
+       * decl.c (make_binding_level): Likewise.
+       (java_dup_lang_specific_decl): Likewise.
+
+       * constants.c (set_constant_entry): Likewise.
+       (cpool_for_class): Likewise.
+
+       * class.c (add_method_1): Likewise.
+       (java_treetreehash_new): Likewise.
+
+       * java-tree.h (struct lang_type): Add variable_size GTY option.
+       (struct lang_decl): Likewise.
+
+       * jch.h (struct cpool_entry): Likewise.
+
+       * java-tree.h (java_treetreehash_create): Remove parameter ggc.
+
+       * except.c (prepare_eh_table_type): Update
+       java_treetreehash_create call.
+
+       * class.c (add_method_1): Update java_treetreehash_create call.
+       (java_treetreehash_create): Remove parameter gc.  Use
+       htab_create_ggc.
+
+2010-06-04  Joseph Myers  <joseph@codesourcery.com>
+
+       * jvspec.c (lang_specific_driver): Use GCC-specific formats in
+       diagnostics.
+
+2010-05-30  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * except.c: Include tm.h.
+
+2010-05-28  Joseph Myers  <joseph@codesourcery.com>
+
+       * jvspec.c (lang_specific_driver): Use fatal_error instead of
+       fatal.  Use warning instead of error for warnings.
+
+2010-05-28  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * expr.c (get_symbol_table_index): Add spaces in expression.
+
+2010-05-28  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * java-tree.h (method_entry): Declare.  Declare VECs containing it.
+       (struct lang_type): Change type of otable_methods, atable_methods, and
+       itable_methods to VECs.  Fix comment for atable_methods.
+       (emit_symbol_table): Take a VEC instead of a tree.
+       (get_symbol_table_index): Take a VEC * instead of a tree *.
+       * class.c (add_table_and_syms): Take a VEC instead of a tree.
+       (emit_symbol_table): Update for changed parameter type.
+       * expr.c (get_symbol_table_index): Likewise.
+
+2010-05-27  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * buildings.c: Pretend to be a backend file by undefining
+       IN_GCC_FRONTEND (still need rtl.h here).
+
+2010-05-26  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * java-tree.h (struct lang_decl_func): Change type of throws_list
+       field to a VEC.
+       * jcf-parse.c (HANDLE_EXCEPTIONS_ATTRIBUTE): Adjust for changed type
+       of DECL_FUNCTION_THROWS.
+       * class.c (make_method_value): Likewise.
+
+2010-05-26  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * class.c (utf8_decl_list): Delete.
+       (build_utf8_ref): Remove references to it.
+       * java-tree.h (all_class_list): Delete.
+       (predef_filenames): Delete.
+       (enum java_tree_index) [JTI ALL_CLASS_LIST,JTI_PREDEF_FILENAMES]:
+       Delete.
+       * jcf-parse.c (parse_roots): Decrease size to 2.
+       (current_file_list): Convert to a VEC.
+       (all_class_list): Declare.
+       (jcf_parse): Adjust for new type of all_class_list.
+       (java_layout_seen_class_methods): Likewise.
+       (predefined_filenames): Declare.
+       (add_predefined_file): Use it.
+       (predefined_filename_p): Likewise.
+       (java_parse_file): Adjust for new type of current_file_list.                                                                                                                                                     *
+
+2010-05-25  Jakub Jelinek  <jakub@redhat.com>
+
+       * lang.c (java_classify_record): Return RECORD_IS_INTERFACE
+       for interfaces.
+
+       PR debug/43260
+       * java-tree.h (pending_static_fields): New extern declaration.
+       (java_write_globals): New prototype.
+       * lang.c (LANG_HOOKS_WRITE_GLOBALS): Define.
+       * decl.c (java_mark_class_local): When clearing DECL_EXTERNAL
+       of a static field push it into pending_static_fields vector.
+       * class.c (pending_static_fields): New variable.
+       (add_field): If static field is not DECL_EXTERNAL, push it into
+       pending_static_fields vector.
+       (java_write_globals): New function.
+
+2010-05-24  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * expr.c (quick_stack): Change type to a VEC.  Update comment.
+       (tree_list_free_list): Delete.
+       (flush_quick_stack): Update for quick_stack type change.
+       (push_value): Likewise.
+       (pop_value): Likewise.
+
+2010-05-23  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * java-gimplify.c: Do not include tm.h, toplev.h.
+       * typeck.c: Do not include tm.h.
+       * mangle_name.c: Do not include tm.h.
+       * jcf-dump.c: Do not include tm.h, ggc.h.
+       * class.c: Do not include rtl.h, tm_p.h, target.h, except.h, cgraph.h.
+       * decl.c: Do not include tm.h, rtl.h, function.h, expr.h, except.h,
+       and timevar.h.
+       * jcf-parse.c: Do not include tm.h and tm_p.h.
+       * resource.c: Do not include tm.h, rtl.h, flags.h, obstack.h,
+       target.h, and expr.h.
+       * except.c: Do not include tm.h, rtl.h, function.h.
+       * builtins.c: Do not include convert.h.  Explain why RTL headers
+       have to be included here.
+       * verify-glue.c: Do not include tm.h.
+       * jcf-depend.c: Do not include tm.h.
+       * jcf-reader.c: Include ggc.h.
+       * jcf-io.c: Do not include tm.h, toplev.h.
+       * expr.c: Do not include tm.h, rtl.h, expr.h, except.h, tm_p.h,
+       gimple.h.
+       * lang.c: Do not include rtl.h, expr.h.
+       * Make-lang.in: Update dependencies.
+
+2010-05-23  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * jcf-parse.c: Include bitmap.h.
+       * Make-lang.in: Update dependencies.
 
 2010-05-20  Jakub Jelinek  <jakub@redhat.com>
 
 2009-07-07  Manuel López-Ibáñez  <manu@gcc.gnu.org>
 
        * class.c: Replace %J by an explicit location. Update all calls.
-       
+
 2009-07-07  Manuel López-Ibáñez  <manu@gcc.gnu.org>
 
        * jcf-parse.c: Replace %H by an explicit location. Update all calls.
        (MANGLE_CXX_KEYWORDS): New macro.
        (append_gpp_mangled_name): Use MANGLE_CXX_KEYWORDS.
        (append_gpp_mangled_name): Likewise.
-       * mangle.c: Move code to mangle_name.c. 
+       * mangle.c: Move code to mangle_name.c.
        (mangle_member_name): Don't call cxx_keyword_p.
 
 2009-06-12  Aldy Hernandez  <aldyh@redhat.com>
        * builtins.c: Same.
        * expr.c: Same.
        * java-tree.h (PUSH_FIELD): Add location field.
-       
+
 2009-06-09  Ian Lance Taylor  <iant@google.com>
 
        * verify.h: Remove extern "C".
 
 2009-04-09  Paolo Bonzini  <bonzini@gnu.org>
 
-        * builtins.c (compareAndSwapLong_builtin,
-        compareAndSwapInt_builtin, compareAndSwapObject_builtin,
-        VMSupportsCS8_builtin): Do not look at sync_compare_and_swap_cc.
+       * builtins.c (compareAndSwapLong_builtin,
+       compareAndSwapInt_builtin, compareAndSwapObject_builtin,
+       VMSupportsCS8_builtin): Do not look at sync_compare_and_swap_cc.
 
 2009-03-31  Richard Guenther  <rguenther@suse.de>
 
        mixed declarations and code.
 
        2008-05-02  Doug Kwan  <dougkwan@google.com>
-       
+
        * expr.c (build_java_throw_out_of_bounds_exception ): Wrap call to
        _Jv_ThrowBadArrayIndex with a COMPOUND_EXPR to return 0.
 
 
        * java-gimplify.c (java_gimplify_expr): Make pre_p and post_p
        sequences.
-       (java_gimplify_self_mod_expr): Same.                                    
-       * java-tree.h (java_gimplify_expr): Make pre_p and post_p               
+       (java_gimplify_self_mod_expr): Same.
+       * java-tree.h (java_gimplify_expr): Make pre_p and post_p
        sequences.
 
 2008-07-24  Jan Hubicka  <jh@suse.cz>
 
 2008-04-03  Paolo Bonzini  <bonzini@gnu.org>
 
-        * java-tree.h (insert_block): Kill.
-        * decl.c (insert_block): Kill.
-               
+       * java-tree.h (insert_block): Kill.
+       * decl.c (insert_block): Kill.
+
 2008-04-01  Joseph Myers  <joseph@codesourcery.com>
 
        * gcj.texi: Include gpl_v3.texi instead of gpl.texi
 
 2008-03-11  Paolo Bonzini  <bonzini@gnu.org>
 
-        * jcf-parse.c (java_parse_file): Assert binding levels are
-        left in order.
-        * lang.c (LANG_HOOKS_CLEAR_BINDING_STACK, java_clear_binding_stack):
-        Delete.
+       * jcf-parse.c (java_parse_file): Assert binding levels are
+       left in order.
+       * lang.c (LANG_HOOKS_CLEAR_BINDING_STACK, java_clear_binding_stack):
+       Delete.
 
 2008-03-02  Jakub Jelinek  <jakub@redhat.com>
 
 2007-07-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * class.c (java_treetreehash_hash, java_treetreehash_compare):
-       Constify. 
+       Constify.
        * expr.c (type_assertion_eq): Likewise.
        * jcf-io.c (compare_path): Likewise.
        * jcf-parse.c (cmpstringp): Likewise.
        * verify-impl.c (get_one_type, compute_argument_types,
-       compute_return_type): Likewise. 
+       compute_return_type): Likewise.
 
 2007-07-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
 
 
 2007-07-03  David Daney  <ddaney@avtrex.com>
 
-       * java/Make-lang.in (doc/gcj.info): Add $(gcc_docdir) to 
+       * java/Make-lang.in (doc/gcj.info): Add $(gcc_docdir) to
        include path.
        (doc/gcj.dvi): Same.
        (doc/gcj.pdf): Same.
 
 2007-04-03  Andrew Haley  <aph@redhat.com>
 
-        * jvgenmain.c (main): Change main to use class$, not class$$.
-        (do_mangle_classname): Likewise.
-        * class.c (hide): New function.
-        (add_field): Hide everything that shouldn't be visible outside a
-        DSO.
-        (build_static_class_ref): Likewise.
-        (build_classdollar_field): Likewise.
-        (make_class_data): Likewise.
-        (layout_class_method): Likewise.
-        * expr.c (special_method_p): New function.
+       * jvgenmain.c (main): Change main to use class$, not class$$.
+       (do_mangle_classname): Likewise.
+       * class.c (hide): New function.
+       (add_field): Hide everything that shouldn't be visible outside a
+       DSO.
+       (build_static_class_ref): Likewise.
+       (build_classdollar_field): Likewise.
+       (make_class_data): Likewise.
+       (layout_class_method): Likewise.
+       * expr.c (special_method_p): New function.
 
        * class.c (push_class): Don't bogusly guess the source filename.
        * jcf-parse.c (give_name_to_class): Don't set input_location from
 
        * expr.c (rewrite_arglist_getcaller): New.
        (rewrite_arglist_getclass): Fix indentation.
-       (rules): Add gnu.classpath.VMStackWalker.getCallingClass() and 
+       (rules): Add gnu.classpath.VMStackWalker.getCallingClass() and
        gnu.classpath.VMStackWalker.getCallingClassLoader().
        * builtins.c (initialize_builtins): Remove duplicate def'n of
        __sync_synchronize.
        * jcf-parse.c (field_offsets, bit_obstack): New variables.
        (jcf_parse): Write end marker to annotation_data.
        (java_parse_file): Create field_offsets bitmap.  Destroy it.
-       (annotation_grow, annotation_rewrite_byte) 
-       (annotation_rewrite_short, annotation_rewrite_int) 
-       (annotation_read_short, annotation_write_byte) 
-       (annotation_write_short, annotation_write_int) 
-       (handle_long_constant, handle_constant, handle_element_value) 
-       (handle_annotation, handle_annotations) 
-       (handle_annotation_attribute, rewrite_reflection_indexes) 
-       (handle_member_annotations, handle_parameter_annotations) 
+       (annotation_grow, annotation_rewrite_byte)
+       (annotation_rewrite_short, annotation_rewrite_int)
+       (annotation_read_short, annotation_write_byte)
+       (annotation_write_short, annotation_write_int)
+       (handle_long_constant, handle_constant, handle_element_value)
+       (handle_annotation, handle_annotations)
+       (handle_annotation_attribute, rewrite_reflection_indexes)
+       (handle_member_annotations, handle_parameter_annotations)
        (handle_default_annotation): New functions.
-       (HANDLE_RUNTIMEVISIBLEANNOTATIONS_ATTRIBUTE) 
-       (HANDLE_RUNTIMEINVISIBLEANNOTATIONS_ATTRIBUTE) 
-       (HANDLE_RUNTIMEVISIBLEPARAMETERANNOTATIONS_ATTRIBUTE) 
-       (HANDLE_RUNTIMEINVISIBLEPARAMETERANNOTATIONS_ATTRIBUTE) 
+       (HANDLE_RUNTIMEVISIBLEANNOTATIONS_ATTRIBUTE)
+       (HANDLE_RUNTIMEINVISIBLEANNOTATIONS_ATTRIBUTE)
+       (HANDLE_RUNTIMEVISIBLEPARAMETERANNOTATIONS_ATTRIBUTE)
+       (HANDLE_RUNTIMEINVISIBLEPARAMETERANNOTATIONS_ATTRIBUTE)
        (HANDLE_ANNOTATIONDEFAULT_ATTRIBUTE): New definitions.
-       * java-tree.h (enum jv_attr_type, enum jv_attr_kind): New. 
+       * java-tree.h (enum jv_attr_type, enum jv_attr_kind): New.
        (TYPE_REFLECTION_DATA): New.
        (TYPE_REFLECTION_DATASIZE): New.
        * jcf.h (enum cpool_tag): Convert a bunch of #define constants to
        putVolatile_builtin, getVolatile_builtin): New builtins.
 
 2006-06-08  Andrew Haley  <aph@redhat.com>
+
        * expr.c (build_field_ref): Pass NULL_TREE as SPECIAL arg to
        get_symbol_table_index().
        (maybe_rewrite_invocation): Set SPECIAL if we need to access a
        it to build_symbol_entry().
        * parse.y (patch_invoke): Call maybe_rewrite_invocation() and set
        special accordingly.
+
 2006-09-08  Andrew Haley  <aph@redhat.com>
 
        * class.c (layout_class_method): Use build_java_signature, not
 
 2006-07-07  Andrew Haley  <aph@redhat.com>
 
-        * jcf-parse.c (set_source_filename): Don't check for
+       * jcf-parse.c (set_source_filename): Don't check for
        CLASS_FROM_CURRENTLY_COMPILED_P.
-        Remove // comments.
+       Remove // comments.
 
 2006-07-07  Andrew Haley  <aph@redhat.com>
 
        * java-tree.h (update_aliases): Remove
        * expr.c (expand_iinc): Remove call to update_aliases().
        (STORE_INTERNAL): Likewise.
-       * decl.c (update_aliases, initialize_local_variable) 
+       * decl.c (update_aliases, initialize_local_variable)
        (maybe_pushlevels): Set DECL_VALUE_EXPR for debugging decls.
 
 2006-06-19  Andrew Haley  <aph@redhat.com>
 
        * typeck.c (build_java_array_type): Generate TYPE_STUB_DECLs for
        array types.
-       
+
 2006-02-08  Tom Tromey  <tromey@redhat.com>
 
        PR java/22578:
        * parse.y (maybe_create_class_interface_decl): Set TYPE_PACKAGE for
        the newly created type. Set import lists here, not in create_class.
        (jdep_resolve_class): Set current_class.
-       (do_resolve_class): Use current_class's TYPE_PACKAGE to determine 
+       (do_resolve_class): Use current_class's TYPE_PACKAGE to determine
        the current package context, not ctxp->package.
        (cicp_cache): Removed.
        (class_in_current_package): Simplify implementation using TYPE_PACKAGE.
 
 2005-09-09  Andrew Haley  <aph@redhat.com>
 
-       PR libgcj/23182 
+       PR libgcj/23182
        * expr.c (pop_type_0): If the expected type is object or ptr
        (i.e. void*), return the type of the object we just popped from
        the stack.
        empty_statement.
 
 2005-07-08  Daniel Berlin  <dberlin@dberlin.org>
-       
+
        * java-tree.h (LABEL_RETURN_LABELS): Use decl_non_common.
        (LABEL_PENDING_CHAIN): Ditto.
        (LABEL_PC): Ditto.
-       (DECL_BIT_INDEX): Ditto.        
+       (DECL_BIT_INDEX): Ditto.
 
 2005-07-07  Bryce McKinlay  <mckinlay@redhat.com>
 
        check_inner_class_access.
        (check_inner_class_access): Use inner_class_accessible.
        (resolve_inner_class): Simplify arguments. Create circularity hash
-       here. Keep looking for classes if we found one that was inaccessible. 
+       here. Keep looking for classes if we found one that was inaccessible.
        Return the inaccessible class only if there is no other match.
        (do_resolve_class): Update for new resolve_inner_class arguments.
        Don't create circularity_hash here.
        (java_complete_expand_method): Don't use purge_unchecked_exceptions
        or save/restore the exception list.
        (check_thrown_exceptions): Add uncaught exceptions in anonymous
-       class initializers and constructors to the throws clause of the method. 
+       class initializers and constructors to the throws clause of the method.
 
 2005-07-05  Bryce McKinlay  <mckinlay@redhat.com>
 
 
 2005-05-26  Bryce McKinlay  <mckinlay@redhat.com>
 
-       * decl.c (GCJ_BINARYCOMPAT_ADDITION, 
+       * decl.c (GCJ_BINARYCOMPAT_ADDITION,
        GCJ_BOOTSTRAP_LOADER_ADDITION): Removed.
        (FLAG_BINARYCOMPAT_ABI, FLAG_BOOTSTRAP_LOADER,
        MINOR_BINARYCOMPAT_ABI_VERSION): New.
 2005-04-27  Bryce McKinlay  <mckinlay@redhat.com>
 
        * gcj.texi (libgcj Runtime Properties): Remove obsolete
-       gnu.gcj.runtime.NameFinder.* system properties. Update documentation 
+       gnu.gcj.runtime.NameFinder.* system properties. Update documentation
        for gnu.gcj.runtime.NameFinder.use_addr2line and gnu.gcj.progname.
 
 2005-04-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * java-except.h (struct eh_range.handler): Remove unused field.
        (handle_nested_ranges): Remove function declaration.
-       (sanity_check_exception_range): Add function declaration.       
+       (sanity_check_exception_range): Add function declaration.
        * verify.c (verify_jvm_instructions): Remove call to
        handle_nested_ranges.
        * verify-glue.c (verify_jvm_instructions_new): Call
 
        PR java/20502
        * jcf-parse.c (duplicate_class_warning): New function.
-       (java_parse_file): Call duplicate_class_warning if 
+       (java_parse_file): Call duplicate_class_warning if
        CLASS_FROM_CURRENTLY_COMPILED_P is already set.
        (parse_zip_file_entries): Likewise. Also set
        CLASS_FROM_CURRENTLY_COMPILED_P.
@@ -21972,7 +22628,7 @@ Tue Mar  9 11:52:08 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 
 \f
 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
-2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+2006, 2007, 2008, 2009, 2011 Free Software Foundation, Inc.
 
 Copying and distribution of this file, with or without modification,
 are permitted in any medium without royalty provided the copyright