OSDN Git Service

* boehm.c (set_bit): Improve type safety wrt unsignedness.
[pf3gnuchains/gcc-fork.git] / gcc / java / ChangeLog
index f064123..dc1ae7e 100644 (file)
@@ -1,3 +1,101 @@
+2004-07-23  Mike Stump  <mrs@apple.com>
+
+       * boehm.c (set_bit): Improve type safety wrt unsignedness.
+       * gjavah.c (throwable_p, decode_signature_piece,
+       print_full_cxx_name, print_include, add_namelet, add_class_decl,
+       process_file): Likewise.
+       * jcf-dump.c (main): Likewise.
+       * jcf-io.c (read_zip_member): Likewise.
+       * jcf-parse.c (HANDLE_CONSTANT_Utf8, get_constant,
+       give_name_to_class, get_class_constant): Likewise.
+       * jcf-write.c (find_constant_wide, push_long_const,
+       generate_classfile): Likewise.
+       * lex.c (java_new_lexer, java_read_char, cxx_keyword_p): Likewise.
+       * parse.y (read_import_dir): Likewise.
+       * typeck.c (parse_signature_type): Likewise.
+       * verify.c (verify_jvm_instructions): Likewise.
+       * zextract.c (find_zip_file_start, read_zip_archive): Likewise.
+
+2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
+
+       * Make-lang.in: Replace rmic and rmiregistry references with
+       grmic and grmiregistry.
+       * gcj.texi: Likewise.
+
+2004-07-20  Andrew Haley  <aph@redhat.com>
+
+       PR java/16431.
+       * verify.c (verify_jvm_instructions): Comment change only.
+
+       * typeck.c (build_java_array_type): Add size field to array name.
+
+       * java-tree.h (LOCAL_SLOT_P): New.
+       (update_aliases): Add PC argument.
+       (pushdecl_function_level): New function.
+
+       * java-gimplify.c (java_gimplify_expr): Handle VAR_DECL,
+       MODIFY_EXPR, and SAVE_EXPR.
+       (java_gimplify_modify_expr): New function.
+
+       * expr.c (push_type_0): Call find_stack_slot() to create temporary.
+       (expand_iinc): Pass PC to update_aliases().
+       (STORE_INTERNAL): Likewise.
+       (process_jvm_instruction): Likewise.
+
+       * decl.c (base_decl_map): New variable.
+       (uniq): New variable.
+       (update_aliases): Rewrite with more thorough checking.
+       (debug_variable_p): New function.
+       (push_jvm_slot): Don't initialize local variable.  Don't pushdecl.
+       (check_local_named_variable): Delete whole function.
+       (initialize_local_variable): New function.
+       (check_local_unnamed_variable): Add checks and comments.
+       (find_local_variable): Rewrite.
+       (java_replace_reference): New function.
+       (function_binding_level): New variable.
+       (pushdecl_function_level): New function.
+       (maybe_pushlevels): Set DECL_LOCAL_END_PC.
+       (maybe_pushlevels): Call pushdecl() on each of the new decls.
+       (start_java_method): Reset uniq.  Create base_decl_map.  Set
+       function_binding_level.
+       (end_java_method): Null unused fields to save memory.
+       
+2004-07-20  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * class.c (add_interface_do): Remove.
+       (set_super_info, interface_of_p, maybe_add_interface,
+       add_interface, make_class_data, layout_class,
+       add_miranda_methods): Adjust BINFO accessors and addition.
+       * expr.c (can_widen_reference_to, lookup_field): Adjust BINFO
+       accessors.
+       * jcf-write.c (generate_classfile): Likewise.
+       * parse.y (patch_anonymous_class, check_inner_circular_reference,
+       check_circular_reference, java_complete_class,
+       check_abstract_method_definitions,
+       java_check_abstract_method_definitions,
+       check_interface_throws_clauses, java_check_abstract_methods,
+       lookup_java_interface_method2,
+       find_applicable_accessible_methods_list): Adjust BINFO accessors
+       and addition.
+       * typeck.c (find_method_in_interfaces): Adjust BINFO accessors.
+
+2004-07-18  Roger Sayle  <roger@eyesopen.com>
+
+       * builtins.c (max_builtin, min_builtin,
+       java_build_function_call_expr): Replace calls to build with buildN.
+       * class.c (build_class_ref, build_static_field_ref,
+       get_dispatch_table, make_class_data, layout_class_method): Likewise.
+       * constants.c (build_ref_from_constant_pool): Likewise.
+       * decl.c (update_aliases, push_jvm_slot, poplevel, finish_method,
+       add_stmt_to_compound): Likewise.
+       * except.c (build_exception_object_ref, expand_end_java_handler):
+       Likewise.
+       * java-gimplify.c (java_gimplify_case_expr,
+       java_gimplify_default_expr, java_gimplify_block,
+       java_gimplify_new_array_init, java_gimplify_try_expr): Likewise.
+       * jcf-write.c (generate_bytecode_insns): Likewise.
+       * typeck.c (convert_ieee_real_to_integer): Likewise.
+
 2004-07-17  Joseph S. Myers  <jsm@polyomino.org.uk>
 
        * java-tree.h (builtin_function): Declare.