OSDN Git Service

contrib:
[pf3gnuchains/gcc-fork.git] / gcc / java / ChangeLog
index e7b05e7..2c2c35e 100644 (file)
@@ -1,3 +1,338 @@
+2008-04-01  Joseph Myers  <joseph@codesourcery.com>
+
+       * gcj.texi: Include gpl_v3.texi instead of gpl.texi
+       * Make-lang.in (TEXI_JAVA_FILES): Include gpl_v3.texi instead of
+       gpl.texi.
+
+2008-03-27  Tom Tromey  <tromey@redhat.com>
+
+       * Make-lang.in: Revert automatic dependency patch.
+
+2008-03-25  Tom Tromey  <tromey@redhat.com>
+
+       * Make-lang.in: Removed most explicit .o targets.
+       (java/jvspec.o): Reduce to variable setting.  Moved to java/.
+       ($(GCJ)$(exeext)): Update.
+       (JAVA_OBJS): New variable.
+       (JCFDUMP_OBJS): Reformat.
+       (java_OBJS): New variable.
+       (java/jvspec.o-warn): Update.
+       (java/parse.o-warn): Remove.
+       (JAVA_TREE_H): Remove.
+       (java/jcf-io.o): Reduce to variable setting.
+       (ALL_CPPFLAGS): Likewise.
+
+2008-03-12  Paolo Bonzini  <bonzini@gnu.org>
+
+       * mangle.c (java_mangle_decl): Remove dead check.
+
+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.
+
+2008-03-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * jcf-dump.c (version): Update copyright notice dates.
+
+2008-02-29  Tom Tromey  <tromey@redhat.com>
+
+       * expr.c (expand_byte_code): Set DECL_FUNCTION_LAST_LINE on
+       method.
+       * java-tree.h (struct lang_decl_func): Remove obsolete comment.
+
+2008-02-26  Tom Tromey  <tromey@redhat.com>
+
+       * lang.c (java_post_options): Remove conditional.
+       * expr.c (expand_byte_code): Remove old location code.
+       * jcf-parse.c (set_source_filename): Remove old location code.
+       (give_name_to_class): Likewise.
+       (jcf_parse): Likewise.
+       (duplicate_class_warning): Likewise.
+       (parse_class_file): Likewise.
+       (java_parse_file): Likewise.
+       * decl.c (finish_method): Remove old location code.
+       * class.c (push_class): Remove old location code.
+
+2008-02-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       PR other/35107
+       * Make-lang.in (jc1): Add $(GMPLIBS).
+
+2008-01-23  David Daney  <ddaney@avtrex.com>
+
+       * class.c (hide)  Rename to...
+       (java_hide_decl) ... this throughout, and make public.
+       * resource.c (Jr_count): Remove.
+       (compile_resource_data): Call java_mangle_resource_name to generate
+       decl name.  Make resource decl public and hidden.
+       * mangle.c (java_mangle_resource_name): New function.
+       * java-tree.h (java_hide_decl, java_mangle_resource_name): Declare
+       functions.
+
+2008-01-04  Andrew Haley  <aph@redhat.com>
+
+       PR java/17779
+       * jcf-parse.c (parse_zip_file_entries): Move decl to compile on
+       C90.
+
+2008-01-03  Andrew Haley  <aph@redhat.com>
+
+       PR java/17779
+       * jcf-parse.c (parse_zip_file_entries): Unset TYPE_ALIAS_SET if
+       we're about to re-layout the type.
+
+2007-12-20  Alexandre Oliva  <aoliva@redhat.com>
+
+       * lang.c (java_classify_record): Don't return
+       RECORD_IS_INTERFACE for now.
+
+2007-12-18  Andrew Haley  <aph@redhat.com>
+
+       PR java/27643
+       * jcf-parse.c (java_parse_file): Remove call to
+       java_mark_class_local.
+       (parse_class_file): Reinstate call to java_mark_class_local here.
+       * decl.c (java_mark_cni_decl_local): If the ASSEMBLER_NAME is
+       already set, call java_mangle_decl() and make_decl_rtl() to
+       rewrite its name as a hidden alias.
+
+2007-12-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR debug/7081
+       * lang.c (java_classify_record): New.
+       (LANG_HOOKS_CLASSIFY_RECORD): Override.
+
+2007-11-26  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       PR 34081/C++
+       * decl.c (finish_method): Pass 'false' for the new
+       allocate_struct_function parameter.
+
+2007-11-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       * expr.c (build_jni_stub): Use the computed jni func type for
+       variable meth.
+
+2007-11-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       * class.c (JAVA_TREEHASHHASH_H): Use TYPE_UID.
+
+2007-11-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       * expr.c (type_assertion_hash): Hash type uids rather than
+       tree pointers.
+
+2007-11-17  David Daney  <ddaney@avtrex.com>
+           Andrew Haley  <aph@redhat.com>
+
+       * constants.c (build_constants_constructor):  Use POINTER_SIZE
+       insead of BITS_PER_WORD in big-endian work around.
+
+2007-11-07  Tom Tromey  <tromey@redhat.com>
+
+       PR java/34019:
+       * gcj.texi (Input Options): Add missing noun.
+
+2007-11-02  Tom Tromey  <tromey@redhat.com>
+
+       PR java/33765:
+       * jcf-parse.c (java_parse_file): Ignore ZIPEMPTYMAGIC files.
+       * zipfile.h (ZIPEMPTYMAGIC): New define.
+
+2007-11-01  Tom Tromey  <tromey@redhat.com>
+
+       * Make-lang.in (java/jcf-dump.o): Depend on zipfile.h.
+       (java/jcf-parse.o): Depend on jcf-reader.c, zipfile.h, and jcf.h.
+       (java/jcf-io.o): Depend on zipfile.h.
+
+2007-10-17  Richard Guenther  <rguenther@suse.de>
+
+       * Make-lang.in (java/builtins.o): Add $(OPTABS_H) and $(EXPR_H)
+       dependencies.
+
+2007-10-03  Andrew Haley  <aph@redhat.com>
+
+       PR java/33639
+       * class.c (mangled_classname): Detect and replace illegal
+       characters in assembly language symbols.
+       (gen_indirect_dispatch_tables): Call mangled_classname() on
+       the type.
+
+2007-09-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * lang.c (java_print_error_function): Add third argument.
+
+2007-09-15  Tom Tromey  <tromey@redhat.com>
+
+       * java-tree.h (struct lang_decl_func) <function_decl_body>:
+       Remove.
+       <init_final>: Likewise.
+       * lang.c (java_dump_tree): Update.
+       * java-tree.h (DECL_FUNCTION_BODY): Remove.
+
+2007-09-11  Jan Hubicka <jh@suse.cz>
+
+       * decl.c (java_expand_body): Kill.
+       (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill.
+
+2007-09-06  Tom Tromey  <tromey@redhat.com>
+
+       * jcf-parse.c (parse_class_file): Re-enter the current file.
+
+2007-09-07  Roman Zippel  <zippel@linux-m68k.org>
+
+       * boehm.c (mark_reference_fields): Move misaligned pointer check
+       after JREFERENCE_TYPE_P test
+
+2007-09-06  Roman Zippel  <zippel@linux-m68k.org>
+
+       * boehm.c (mark_reference_fields): Don't use bitmap as gc_descr
+       if pointer is misaligned.
+
+2007-09-06  Tom Tromey  <tromey@redhat.com>
+
+       * lang.c (java_post_options): Update.
+       * jcf-parse.c (set_source_filename): Update.
+       (give_name_to_class): Update.
+       (jcf_parse): Update.
+       (duplicate_class_warning): Update.
+       (parse_class_file): Update.
+       (java_parse_file): Update.
+       * expr.c (expand_byte_code): Update.
+
+2007-09-05  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * decl.c (finish_method): Use set_cfun.
+
+2007-09-04  Andrew Haley  <aph@redhat.com>
+
+       * decl.c (java_init_decl_processing): Call "__cxa_end_cleanup"
+       when using the ARM EABI.
+
+2007-09-03  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Make-lang.in (jvspec.o): Remove SHLIB_MULTILIB.
+
+2007-09-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * jcf-parse.c (read_class, java_parse_file): Supply a TYPE for
+       CONST_CAST.
+       * jcf.h (JCF_FINISH): Likewise.
+
+2007-08-28  Tom Tromey  <tromey@redhat.com>
+
+       * Make-lang.in (java.tags): Don't tag '*.y' files.
+
+2007-08-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * lang.c (java_decl_ok_for_sibcall): Likewise.
+
+2007-08-21  Paul Brook  <paul@codesourcery.com>
+           Nathan Sidwell  <nathan@codesourcery.com>
+           Mark Mitchell  <mark@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+
+       * jcf-dump.c (version): Use pkgversion_string.  Update copyright
+       date.
+
+2007-08-20  Richard Guenther  <rguenther@suse.de>
+
+       * lang.c (java_tree_inlining_walk_subtrees): Remove.
+       (LANG_HOOKS_TREE_INLINING_WALK_SUBTREES): Remove.
+
+2007-08-17  Tom Tromey  <tromey@redhat.com>
+
+       * typeck.c (find_method_in_interfaces): Update.
+       * jcf-parse.c (load_class): Update.
+       * java-gimplify.c (java_gimplify_component_ref): Removed.
+       (java_gimplify_modify_expr): Update.  Removed pre_p and post_p
+       arguments.
+       (java_gimplify_expr): Update.
+       * decl.c (java_init_decl_processing): Update.
+       * class.c (set_constant_value): Update.
+       (make_class_data): Update.
+       (finish_class): Update.
+       (build_static_field_ref): Update.
+       (is_compiled_class): Update.
+       (maybe_layout_super_class): Update.
+       (layout_class): Update.
+       (layout_class_method): Update.
+       * java-tree.h (CAN_COMPLETE_NORMALLY): Removed.
+       (lang_decl_var) <am, final_iud, cif>: Removed fields.
+       (lang_decl_func) <init_calls_this>: Removed field.
+       (lang_type) <dot_class, verify_method>: Removed fields.
+       (FIELD_NESTED_ACCESS): Removed.
+       (FIELD_NESTED_ACCESS_P): Removed.
+       (DECL_FIELD_FINAL_IUD): Removed.
+       (DECL_LOCAL_FINAL_IUD): Removed
+       (LOCAL_FINAL_P): Removed.
+       (FINAL_VARIABLE_P): Removed.
+       (CLASS_FINAL_VARIABLE_P): Removed.
+       (DECL_BIT_INDEX): Removed.
+       (DECL_INIT_CALLS_THIS): Removed.
+       (FIELD_LOCAL_ALIAS): Removed.
+       (FIELD_LOCAL_ALIAS_USED): Removed.
+       (FIELD_THISN): Removed.
+       (DECL_FUNCTION_INIT_TEST_CLASS): Removed.
+       (LOCAL_CLASS_INITIALIZATION_FLAG): Removed.
+       (LOCAL_CLASS_INITIALIZATION_FLAG_P): Removed.
+       (TYPE_DOT_CLASS): Removed.
+       (TYPE_VERIFY_METHOD): Removed.
+       (ID_CLASSDOLLAR_P): Removed.
+       (enum java_tree_index) <JTI_CLASSDOLLAR_IDENTIFIER_NODE>:
+       Removed.
+       (classdollar_identifier_node): Removed.
+       (TYPE_UNKNOWN): Removed.
+       (CLASS_FROM_SOURCE_P): Removed.
+       * expr.c (build_jni_stub): Update.
+       (force_evaluation_order): Update.
+       (build_java_empty_stmt): Update.
+       (build_class_init): Update.
+       (java_stack_swap): Update.
+       (build_jni_stub): Update.
+
+2007-08-17  Tom Tromey  <tromey@redhat.com>
+
+       * java-tree.h (LABEL_TYPE_STATE): Removed.
+       (load_type_state): Removed.
+       (LABEL_PC): Removed.
+       (LABEL_VERIFIED): Removed.
+       (type_states): Declare.
+       * expr.c (type_states): New global.
+       (load_type_state): Now static.  Use type_states.  Changed
+       argument.
+       (lookup_label): Don't set LABEL_PC.
+       (expand_byte_code): Don't use LABEL_VERIFIED.
+       (note_instructions): Initialize type_states.
+       * verify-glue.c (vfy_note_stack_depth): Rewrote.
+       (vfy_note_stack_type): Use type_states.
+       (vfy_note_local_type): Likewise.
+
+2007-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * jcf-parse.c (read_class, java_parse_file): Use CONST_CAST.
+       * jcf.h (JCF_FINISH): Likewise.
+
+2007-07-31  Nick Clifton  <nickc@redhat.com>
+
+       * java-gimplify.c: Change copyright header to refer to version 3
+       of the GNU General Public License and to point readers at the
+       COPYING3 file and the FSF's license web page.
+       * typeck.c, lang-specs.h, mangle_name.c, jcf-dump.c, class.c,
+       decl.c, config-lang.in, jcf-parse.c, constants.c, Make-lang.in,
+       resource.c, except.c, builtins.c, jvspec.c, java-tree.def,
+       javaop.def, jcf-path.c, verify-glue.c, jcf-depend.c, lang.opt,
+       jcf-reader.c, mangle.c, zextract.c, jcf-io.c, jcf.h, zipfile.h,
+       verify.h, java-except.h, win32-host.c, expr.c, jvgenmain.c,
+       parse.h, lang.c, java-tree.h, javaop.h, boehm.c: Likewise.
+
+2007-07-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * jcf-io.c (find_class): Fix -Wcast-qual warnings.
+
 2007-07-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * lang.c (java_get_callee_fndecl): Constify.