OSDN Git Service

PR 44103
[pf3gnuchains/gcc-fork.git] / gcc / java / ChangeLog
index 1b76491..b2de8bc 100644 (file)
@@ -1,3 +1,318 @@
+2010-05-14  Nathan Froyd  <froydnj@codesourcery.com>
+
+       PR 44103
+       * java-tree.h (START_RECORD_CONSTRUCTOR): Change first argument to a
+       vector.  Move call to build_constructor...
+       (FINISH_RECORD_CONSTRUCTOR): ...here.  Add necessary arguments.  Clear
+       TREE_CONSTANT on the constructor.
+       (PUSH_SUPER_VALUE): Change first argument to a vector.
+       (PUSH_FIELD_VALUE): Likewise.
+       * resource.c (compile_resource_data): Update calls to above macros.
+       * constants.c (build_constants_constructor): Likewise.
+       * class.c (build_utf8_ref): Likewise.
+       (make_field_value): Likewise.
+       (make_method_value): Likewise.
+       (add_table_and_syms): New function.
+       (make_class_data): Call it.  Update calls to above macros.
+       (build_symbol_table_entry): New function.
+       (build_symbol_entry): Call it.  Update calls to above macros.
+       (emit_symbol_table): Likewise.
+       (make_catch_class_record): Update calls to above macros.
+       (build_assertion_table_entry): New function.
+       (add_assertion_table_entry): Call it.
+       (emit_assertion_table): Likewise.
+
+2010-05-06  Manuel López-Ibáñez  <manu@gcc.gnu.org>
+
+       PR 40989
+       * lang.c (java_handle_option): Add argument kind.
+
+2010-04-18  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * decl.c (java_init_decl_processing): Remove argument in call to
+       initialize_sizetypes
+
+2010-04-07  Jakub Jelinek  <jakub@redhat.com>
+
+       * exception.cc (_Jv_Throw): Avoid set but not used warning.
+       * include/java-assert.h (JvAssertMessage, JvAssert): Use argument in
+       sizeof to avoid set but not used warnings.
+
+2010-01-20  Joern Rennecke  <amylaar@spamcop.net>
+
+       * lang.c (java_post_options): Constify variable "dot".
+
+       * jcf-parse.c (set_source_filename): Constify variable "dot".
+       (load_class): Constify variable "separator".
+       Use get_identifier_with_length.
+
+       * jvspec.c (lang_specific_driver): Constify two variables named "p".
+
+2010-01-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * jcf-dump.c (version): Update copyright notice dates.
+
+2009-11-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * jvspec.c (lang_specific_driver): Remove unused
+       saw_verbose_flag variable.
+       * jcf-dump.c (main): Remove unused general_purpose_bits
+       variable.
+       * builtins.c (initialize_builtins): Remove unused float_ftype_float
+       variable.
+       * expr.c (java_stack_pop): Remove unused val variable.
+       (build_jni_stub): Remove unused res_type variable.
+       * verify-impl.c (check_field_constant): Remove unused len variable.
+
+2009-10-20  Joel Dice <dicej@mailsnare.net>
+
+       PR java/28474
+       * mangle_name.c (append_unicode_mangled_name): Fix mangling
+       of names with multiple underscores and "U".
+       (unicode_mangling_length): Likewise.
+
+2009-10-03  Simon Baldwin  <simonb@google.com>
+
+       * config-lang.in (lang_dirs): Remove zlib.
+
+2009-09-28  Richard Henderson  <rth@redhat.com>
+
+       * builtins.c (initialize_builtins): Update call to
+       build_common_builtin_nodes.
+       * lang.c (LANG_HOOKS_EH_USE_CXA_END_CLEANUP): New.
+
+2009-09-14  Richard Henderson  <rth@redhat.com>
+
+       * builtins.c (initialize_builtins): Update call to
+       build_common_builtin_nodes.
+       * decl.c (java_init_decl_processing): Don't call
+       default_init_unwind_resume_libfunc.
+       * except.c: Include tree-iterator.h.
+       (build_exception_object_var): New.
+       (build_exception_object_ref): Use it.
+       (expand_end_java_handler): Initialize it from __builtin_eh_pointer.
+       Attach all CATCH_EXPRs to a single TRY_CATCH_EXPR.
+       * java-tree.h (DECL_FUNCTION_EXC_OBJ): New.
+
+2009-09-13  Richard Guenther  <rguenther@suse.de>
+       Rafael Avila de Espindola  <espindola@google.com>
+
+       * decl.c (do_nothing): Remove.
+       (java_init_decl_processing): Do not set lang_eh_runtime_type.
+       * Make-lang.in (lang.o): Add $(EXCEPT_H) dependency.
+       * lang.c (java_eh_personality): New.
+       (java_eh_personality_decl): Likewise.
+       (LANG_HOOKS_EH_PERSONALITY): Define.
+
+2009-09-03  Diego Novillo  <dnovillo@google.com>
+
+       * lang.c (lang_hooks): Remove const qualifier.
+
+2009-09-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * boehm.c (mark_reference_fields): Compute % in HOST_WIDE_INT
+       type.
+
+2009-09-01  Richard Guenther  <rguenther@suse.de>
+
+       * lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Remove.
+       * java-tree.h (java_mark_addressable): Likewise.
+       * typeck.c (java_mark_addressable): Likewise.
+
+2009-08-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Make-lang.in (java.install-pdf): Install gcj.pdf in
+       $(pdfdir)/gcc, alongside the other manuals.
+
+2009-08-12  Andrew Haley  <aph@redhat.com>
+
+       * builtins.c (compareAndSwapInt_builtin): Use
+       flag_use_atomic_builtins.
+       (compareAndSwapLong_builtin): Likewise.
+       (compareAndSwapObject_builtin): Likewise.
+       * jvspec.c: Add flag_use_atomic_builtins.
+       * gcj.texi: Likewise.
+       * java-tree.h: Likewise.
+       * lang.opt: Likewise.
+
+2009-08-11  Dodji Seketeli  <dodji@redhat.com>
+
+       PR debug/40990
+       * lang.c (put_decl_node): Outputs different level of information
+       depending on the verbosity level.
+
+2009-07-31  Andrew Haley  <aph@redhat.com>
+
+       PR java/40867
+       * decl.c (java_replace_references): Set EXPR_LOCATION on all
+       generated expressions.
+       (binding_level.loc): new field.
+       (clear_binding_level): Initialize loc.
+       (set_input_location): New function.
+       (pushlevel): Set new binding_level.loc.
+       (poplevel): Set EXPR_LOCATION on the new BIND_EXPR_BODY.
+       (start_java_method): Set DECL_SOURCE_LOCATION of this new method.
+       (java_add_stmt): Set the EXPR_LOCATION on all subtrees of new_stmt.
+
+2009-07-17  Richard Guenther  <rguenther@suse.de>
+
+       PR c/40401
+       * java-gimplify.c (java_genericize): Do not gimplify here.
+       But replace all local references.
+       (java_gimplify_expr): Do not replace local references here.
+       (java_gimplify_modify_expr): Likewise.
+       * jcf-parse.c (java_parse_file): Do not finalize the CU or
+       optimize the cgraph here.
+       * decl.c (java_replace_reference): Make static.
+       (java_replace_references): New function.
+       (end_java_method): Clear base_decl_map.
+       * java-tree.h (java_replace_references): Declare.
+       (java_replace_reference): Remove.
+
+2009-07-14  Taras Glek  <tglek@mozilla.com>
+           Rafael Espindola  <espindola@google.com>
+
+       * Make-lang.in (java.install-plugin): New target for
+       installing plugin headers.
+
+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.
+
+2009-06-29  Andrew Haley  <aph@redhat.com>
+
+       PR java/40590
+       * java-tree.h (cxx_keyword_p): New declaration.
+       * mangle_name.c (utf8_cmp): Move here from mangle.c.
+       (cxx_keywords): Likewise.
+       (cxx_keyword_p): Likewise.
+       (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_member_name): Don't call cxx_keyword_p.
+
+2009-06-12  Aldy Hernandez  <aldyh@redhat.com>
+
+       * java-gimplify.c (java_gimplify_block): New argument to
+       build_empty_stmt.
+       * expr.c (force_evaluation_order): Same.
+       * typeck.c: Add location to build_decl or PUSH_FIELD calls.
+       * class.c: Same.
+       * decl.c: Same.
+       * jcf-parse.c: Same.
+       * constants.c: Same.
+       * resource.c: Same.
+       * except.c: Same.
+       * 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-06-07  Ian Lance Taylor  <iant@google.com>
+
+       * jcf-parse.c (handle_constant): Change local variable 'kind' to
+       unsigned int.
+
+2009-06-01  Ian Lance Taylor  <iant@google.com>
+
+       * jcf-io.c (find_class): Use CONST_CAST.
+
+2009-05-27  Ian Lance Taylor  <iant@google.com>
+
+       * Make-lang.in ($(XGCJ)$(exeext)): Change $(COMPILER) to
+       $(LINKER).
+       (jc1$(exeext), jcf-dump$(exeext), jvgenmain$(exeext)): Likewise.
+
+2009-05-26  Ian Lance Taylor  <iant@google.com>
+
+       * Make-lang.in (jvspec.o): Use $(COMPILER).
+       ($(XGCJ)$(exeext), jc1$(exeext), jcf-dump$(exeext)): Likewise.
+       (jvgenmain$(exeext), java/jcf-io.o, java/jcf-path.o): Likewise.
+
+2009-05-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * Make-lang.in (GCJ): Renamed to...
+       (XGCJ): ... this.
+
+2009-04-27  Ian Lance Taylor  <iant@google.com>
+
+       * builtins.c (java_builtins): Add casts to enum type.
+       * verify-impl.c (check_class_constant): Add cast to enum type.
+       (check_constant, check_wide_constant): Likewise.
+
+2009-04-27  Richard Guenther  <rguenther@suse.de>
+
+       PR java/38374
+       * constants.c (build_constants_constructor): Retain the old
+       pointer type as valid TYPE_POINTER_TO after patching the
+       type of the constant pool decl.
+
+2009-04-24  Ian Lance Taylor  <iant@google.com>
+
+       * jcf-parse.c (handle_constant): Add cast to enum type.
+
+2009-04-21  Taras Glek <tglek@mozilla.com>
+
+       * builtins.c: Update GTY annotations to new syntax
+       * decl.c: Likewise
+       * java-tree.h: Likewise
+       * jcf.h: Likewise
+       * lang.c: Likewise
+
+2009-04-21  Joseph Myers  <joseph@codesourcery.com>
+
+       * ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
+       license notices.
+
+2009-04-18  Ian Lance Taylor  <iant@google.com>
+
+       * verify-impl.c (verify_instructions_0): Add cast to enum type.
+
+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.
+
+2009-03-31  Richard Guenther  <rguenther@suse.de>
+
+       * java-gimplify.c (java_gimplify_expr): Do not manually gimplify
+       the first operand of binary and comaprison expressions.
+
+2009-03-30  Joseph Myers  <joseph@codesourcery.com>
+
+       PR rtl-optimization/323
+       * lang.c (java_post_options): Set flag_excess_precision_cmdline.
+       Give an error for -fexcess-precision=standard for processors where
+       the option is significant.
+
+2009-03-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * lang.opt: Unify help text for -Wdeprecated.
+
+2009-02-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * jcf-dump.c (version): Update copyright notice dates.
+
+2009-01-16  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/38835
+       PR middle-end/36227
+       * builtins.c (build_addr_sum): Use POINTER_PLUS_EXPR.
+
+2008-12-05  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR bootstrap/38262
+       * Make-lang.in (jc1): Add BACKENDLIBS, remove GMPLIBS.
+
 2008-11-04  Andrew Haley  <aph@redhat.com>
 
        PR java/37068
@@ -21616,3 +21931,11 @@ Tue Mar  9 11:52:08 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 1996-10-24  Per Bothner  <bothner@deneb.cygnus.com>
 
        New directory.
+
+\f
+Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
+2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted in any medium without royalty provided the copyright
+notice and this notice are preserved.