+2004-07-15 Frank Ch. Eigler <fche@redhat.com>
+
+ g++/15861
+ * jcf-parse.c (java_emit_static_constructor): Specify default
+ priority.
+
+2004-07-13 Per Bothner <per@bothner.com>
+
+ * java-tree.h (all_class_filename): Remove useless macro.
+ (enum java_tree_index): Remove JTI_ALL_CLASS_FILENAME constant.
+ (BUILD_FILENAME_IDENTIFIER_NODE): Remove useless macro.
+ * parse.y (java_parser_context_restore_global): Replace
+ BUILD_FILENAME_IDENTIFIER_NODE by plain get_identifier.
+ * jcf-parse.c (read_class, java_parse_file): Likewise.
+
+2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
+
+ PR java/16474
+ gjavah.c (print_field_info): Emit constant only if field is static.
+
+2004-07-11 Roger Sayle <roger@eyesopen.com>
+
+ * expr.c (java_truthvalue_conversion, flush_quick_stack,
+ java_stack_swap, java_stack_dup, build_java_athrow, build_java_jsr,
+ build_java_ret, build_java_throw_out_of_bounds_exception,
+ build_java_array_length_access, java_check_reference,
+ build_java_arrayaccess, build_java_arraystore_check, build_newarray,
+ build_anewarray, expand_java_multianewarray, expand_java_arraystore,
+ expand_java_arrayload, build_java_monitor, expand_java_return,
+ expand_load_internal, expand_java_NEW, build_get_class,
+ build_instanceof, expand_java_CHECKCAST, expand_iinc,
+ build_java_soft_divmod, build_java_binop, build_field_ref,
+ expand_compare, expand_java_goto, expand_java_switch,
+ expand_java_add_case, build_class_init, build_known_method_ref,
+ invoke_build_dtable, build_invokevirtual, build_invokeinterface,
+ expand_invoke, build_jni_stub, expand_java_field_op,
+ java_expand_expr, expand_byte_code, STORE_INTERNAL,
+ force_evaluation_order, emit_init_test_initialization): Convert
+ calls to "build" into calls to the prefered "buildN" functions.
+
+2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk>
+
+ * java-tree.h (set_block): Remove.
+ * lang.c (java_clear_binding_stack): New.
+ (LANG_HOOKS_CLEAR_BINDING_STACK): Define.
+ * decl.c (struct binding_level): Remove this_block.
+ (clear_binding_level): Likewise.
+ (poplevel): Don't handle this_block.
+ (set_block): Remove.
+
+2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
+
+ * class.c (common_enclosing_context_p): Remove statement with no
+ side-effects.
+
+2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
+
+ PR java/8618
+ * parse.y (create_anonymous_class): Remove 'location' argument. Use
+ the WFL from TYPE_NAME to get line number for the decl. Fix comment.
+ (craft_constructor): Inherit access flags for implicit constructor
+ from the enclosing class.
+ (create_class): Fix comment typo.
+ (resolve_qualified_expression_name): Pass type of qualifier to
+ not_accessible_p, not the type in which target field was found.
+ (not_accessible_p): Handle inner classes. Expand protected
+ qualifier-subtype check to enclosing instances, but don't apply this
+ check to static members. Allow protected access to inner classes
+ of a subtype. Allow private access within common enclosing context.
+ (build_super_invocation): Get WFL line number info from current
+ class decl.
+ (build_incomplete_class_ref): Update for new create_anonymous_class
+ signature.
+ * parse.h (INNER_ENCLOSING_SCOPE_CHECK): Use
+ common_enclosing_instance_p.
+ * class.c (common_enclosing_context_p): New. Determine if types
+ share a common enclosing context, even across static contexts.
+ (common_enclosing_instance_p): Renamed from
+ common_enclosing_context_p. Determines if types share a common
+ non-static enclosing instance.
+ * java-tree.h (common_enclosing_instance_p): Declare.
+ * jcf-write.c (get_method_access_flags): New. Surpress private flag
+ for inner class constructors.
+ (generate_classfile): Use get_method_access_flags.
+
+2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
+
+ * class.c (interface_of_p): Check for null TYPE_BINFO.
+
+2004-07-09 Nathan Sidwell <nathan@codesourcery.com>
+
+ * class.c (make_class): Do not create binfo here.
+ (set_super_info): Create it here.
+ * java-tree.h (CLASS_HAS_SUPER): Cope with lack of a binfo.
+
+2004-07-08 Richard Henderson <rth@redhat.com>
+
+ * expr.c (case_identity, get_primitive_array_vtable,
+ java_expand_expr, emit_init_test_initialization): Remove.
+ * java-tree.h (java_expand_expr): Remove.
+ * lang.c (LANG_HOOKS_EXPAND_EXPR): Remove.
+
+2004-07-07 Per Bothner <per@bothner.com>
+
+ * class.c (build_static_field_ref): Add a NOP_EXPR; otherwise we
+ get internal error due to mismatched types.
+
+ * gcj.texi (Invoking gij): Document new -verbose:class flag.
+
+ * gcj.texi (Linking): New node. Document -lgij usage.
+
+2004-07-07 Nathan Sidwell <nathan@codesourcery.com>
+
+ * java-tree.h (CLASSTYPE_SPUER): Adjust BINFO macros.
+ (TYPE_NVIRTUALS, TYPE_VTABLE): Likewise.
+ * java/class.c (set_super_info, class_depth, interface_of_p,
+ maybe_add_interface, add_interface, make_class_data,
+ layout_class, add_miranda_methods): Adjust BINFO macros.
+ * expr.c (can_widen_reference_to, lookup_field): Likewise.
+ * 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): Likewise.
+ * typeck.c (find_method_in_interface): Likewise.
+ * verify.c (merge_types): Likewise.
+
+2004-07-06 Nathan Sidwell <nathan@codesourcery.com>
+
+ * java-tree.h (CLASS_HAS_SUPER_FLAG): Use BINFO_FLAG_1.
+ * class.c (add_interface_do): Use BINFO_VIRTUAL_P.
+
+2004-07-05 Nathan Sidwell <nathan@codesourcery.com>
+
+ * class.c (make_class): Use make_tree_binfo.
+ (set_super_info, add_interface_do): Likewise.
+ * java-tree.h (CLASS_HAS_SUPER_FLAG): Expect a BINFO.
+
+2004-07-04 Ranjit Mathew <rmathew@hotmail.com>
+
+ * verify.c: Correct array element access formatting thinko.
+
+2004-07-04 Ranjit Mathew <rmathew@hotmail.com>
+
+ * verify.c: Insert a short blurb at the start referring to the JVMS.
+ (merge_type_state): Remove redundant nested if statement.
+ (verify_jvm_instructions): Ensure current_subr is initialised to
+ NULL_TREE.
+ Minor formatting fixes all over the place.
+
+2004-07-02 Richard Henderson <rth@redhat.com>
+
+ * jcf-write.c (generate_bytecode_insns <case SAVE_EXPR>): Rewrite.
+
+2004-07-01 Richard Henderson <rth@redhat.com>
+
+ * class.c (registerClass_libfunc): Remove.
+ (init_class_processing): Don't set it.
+ (emit_register_classes): Take list_p parameter. Fill it in
+ with _Jv_RegisterClass calls.
+ * decl.c (java_init_decl_processing): Don't call
+ init_resource_processing.
+ * jcf-parse.c (java_emit_static_constructor): New.
+ (java_parse_file): Call it.
+ * resource.c (registerResource_libfunc): Remove.
+ (init_resource_processing): Remove.
+ (write_resource_constructor): Take list_p parameter. Fill it in
+ with _Jv_RegisterResource calls.
+ * java-tree.h: Update prototypes.
+
+2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
+
+ PR java/1262
+ * class.c (layout_class_method): Do not override package-private
+ method if its in a different package.
+ (split_qualified_name): Move here from parse.y. Rename from
+ breakdown_qualified. Add comment.
+ (in_same_package): Move here from parse.y. Add comment.
+ * java-tree.h (break_down_qualified, in_same_package): Declare.
+ (in_same_package): Likewise.
+ * parse.y (breakdown_qualified, in_same_package): Moved to class.c.
+ Callers updated.
+
+2004-06-29 Andrew Haley <aph@redhat.com>
+
+ * except.c (expand_start_java_handler): Push a new binding level.
+ Don't build a TRY_CATCH_EXPR now, we'll do it later. Call
+ register_exception_range() to register where we'll do it.
+ (expand_end_java_handler): Remove old bogus code. Replace with
+ new logic that simply builds TRY_CATCH_EXPRs and inserts them at
+ the top of the expression we're curently building.
+ (maybe_end_try): Delete.
+ * decl.c (binding_level.exception_range): New field.
+ (clear_binding_level): Add field exception_range. Reformat.
+ (poplevel): Call expand_end_java_handler().
+ (poplevel): Call java_add_stmt only if functionbody is false.
+ (maybe_poplevels): Don't call maybe_end_try() from here.
+ (end_java_method): Clear no longer used trees in function decl.
+ (register_exception_range): New function.
+ * java-tree.h (register_exception_range, struct eh_range): Declare.
+
+2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
+
+ * jcf-write.c (get_classfile_modifiers): Formatting fixes.
+
2004-06-27 Ranjit Mathew <rmathew@hotmail.com>
Formatting fixes.
properly initialize `finished_label'. Don't emit gotos for empty
try statements.
-2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
+2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
* except.c (emit_handlers): Clear catch_clauses_last.