OSDN Git Service

* decl.c (finish_method): Give methods once-only linkage.
[pf3gnuchains/gcc-fork.git] / gcc / java / ChangeLog
index 02d12c1..78fab7f 100644 (file)
@@ -1,3 +1,121 @@
+2005-03-08  Julian Brown  <julian@codesourcery.com>
+
+       * decl.c (finish_method): Give methods once-only linkage.
+
+2005-03-07  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * verify-glue.c (vfy_is_assignable_from): Perform static check using
+       can_widen_reference_to if the C++ ABI is in use.
+       (vfy_get_interface_count, vfy_get_interface): Remove unused functions.
+       * verify-impl.c (debug_print, make_utf8_const, init_type, copy_type,
+       type_isresolved, init_state, set_pc, state_get_pc,
+       _Jv_BytecodeVerifier): Clean up unused and disabled functions.
+       (verify_fail): Report the current PC from the verifier context.
+       (free_state): Remove #if 0 block to enable this function.
+       (free_verifier_context): Call free_state on state_list iterator
+       values before freeing them.
+       * expr.c (pop_type_0): Pop correct type for error message when stack
+       contains a multi-word type.
+
+2005-03-07  Ranjit Mathew  <rmathew@hotmail.com>
+
+       * expr.c (build_java_array_length_access): Remove !flag_new_verifier
+       for known NULL array length access.
+
+2005-03-07  Tom Tromey  <tromey@redhat.com>
+
+       * gcj.texi (Invoking gcj-dbtool): Document '-f'.
+
+2005-03-06  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * jcf-dump.c, jcf-io.c, jcf-reader.c, lang.c, parse.h,
+       typeck.c: Update copyright.
+
+2005-03-06  Ranjit Mathew  <rmathew@hotmail.com>
+
+       Remove xref code.
+       * xref.c, xref.h: Remove file.
+       * Make-lang.in (java/xref.o): Remove.
+       * java-tree.h (flag_emit_xref, do_not_fold): Remove declaration.
+       * lang.c (flag_emit_xref): Remove definition.
+       * parse.h (DECL_END_SOURCE_LINE, DECL_INHERITED_SOURCE_LINE): Remove.
+       * typeck.c (convert): Remove use of do_not_fold.
+       * parse.y (do_not_fold): Remove definition.
+       (parser grammar): Remove xref code.
+       (maybe_create_class_interface_decl, create_class): Likewise.
+       (register_fields, method_header, finish_method_declaration): Likewise.
+       (declare_local_variables, source_end_java_method): Likewise.
+       (java_complete_expand_classes): Do not set do_not_fold.
+       (java_complete_expand_method): Remove xref code.
+       (java_expand_classes, resolve_field_access, patch_invoke): Likewise.
+       (java_complete_tree, java_complete_lhs, patch_assignment): Likewise.
+       (patch_binop, build_string_concatenation, patch_array_ref): Likewise.
+       (patch_synchronized_statement, patch_throw_statement): Likewise.
+       (maybe_build_class_init_for_field): Likewise.
+
+2005-03-05  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * expr.c (build_expr_wfl, expr_add_location): Use TYPE_P
+       instead of IS_NON_TYPE_CODE_CLASS.
+
+2005-03-04  Andrew Haley  <aph@redhat.com>
+
+        PR java/18362
+        * class.c (set_method_index): Don't set method_index if it is
+        NULL_TREE.
+        (layout_class_method): Don't complain about "non-static method foo
+        overrides static method" in the case of indirect dispatch.
+
+2005-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * jcf-io.c (caching_stat): Use __extension__ to avoid pedantic
+       warning.
+       * Make-lang.in: Don't elide warnings in jcf-io.c.
+
+2005-03-01  Per Bothner  <per@bothner.com>
+
+       PR java/8608
+       * check-init.c (wfl): Remove static.
+       (final_assign_error, check_init): Replace calls to parse_error_context
+       by plain error.
+       (check_init): Save, set, and restore input_location for each exp.
+
+2005-03-01  Per Bothner  <per@bothner.com>
+
+       * jcf-reader.c (get_attribute): Handle SourceDebugExtension (JSR 45)
+       if HANDLE_SOURCEDEBUGEXTENSION_ATTRIBUTE is defined.
+       * jcf-dump.c (HANDLE_SOURCEDEBUGEXTENSION_ATTRIBUTE): Print contents.
+
+2005-03-01  Per Bothner  <per@bothner.com>
+
+       * java-tree.h (IDENTIFIER_HANDLECLASS_VALUE): Remove ancient macro.
+
+2005-02-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
+
+       PR libgcj/16923
+       * gcj.texi (Invocation): Add descriptions of JvVMInitArgs and
+       JvVMOption.
+
+2005-02-22  Tom Tromey  <tromey@redhat.com>
+
+       PR java/20056:
+       * verify-impl.c (EITHER): New define.
+       (types_compatible): Handle it.
+       (check_field_constant): Use it.
+
+2005-02-18  Tom Tromey  <tromey@redhat.com>
+
+       PR java/20056:
+       * verify-impl.c (types_equal): Fixed test.
+
+       PR java/20056:
+       * verify-glue.c (vfy_class_has_field): New function.
+       * verify.h (vfy_class_has_field): Declare.
+       * verify-impl.c (check_field_constant): Added 'putfield'
+       argument.
+       (verify_instructions_0): Updated.
+       (types_equal): New function.
+
 2005-02-14  Tom Tromey  <tromey@redhat.com>
 
        PR java/19921:
@@ -9,7 +127,7 @@
        PR java/19907
        * expr.c (expand_byte_code): Call promote_arguments().
        (promote_arguments): New function.
-       * decl.c (check_local_unnamed_variable): Remve special case for
+       * decl.c (check_local_unnamed_variable): Remove special case for
        new verifier.
        (find_local_variable): Promote all boolean types to int
        when searching for local variable decls.