+2005-04-13 Julian Brown <julian@codesourcery.com>
+
+ * decl.c (finish_method): Give methods once-only linkage.
+
+2005-04-11 Richard Sandiford <rsandifo@redhat.com>
+
+ * lang.opt: Refer to the GCC internals documentation instead of c.opt.
+
+2005-04-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * java-tree.h: Don't use PARAMS().
+
+2005-04-07 Per Bothner <per@bothner.com>
+
+ * class.c (push_class): By default, suppress debug output.
+ (finish_class): Enable debug output for classes we're emitting.
+
+2005-04-07 Andrew Haley <aph@redhat.com>
+
+ * gcj.texi: Correct gcj-dbtool instructions.
+
+2005-04-04 Kazu Hirata <kazu@cs.umass.edu>
+
+ * gcj.texi: Fix a typo.
+ * lang.c: Fix a comment typo.
+
+2005-04-01 Thomas Fitzsimmons <fitzsim@redhat.com>
+
+ * gcj.texi (Invoking gij): Add descriptions of new -X options.
+ Mention recognized-and-ignored compatibility options.
+ (Memory allocation): Add descriptions of JvMalloc, JvRealloc and
+ JvFree.
+ (About CNI): Add Memory allocation section.
+
+2005-04-01 Tom Tromey <tromey@redhat.com>
+
+ * decl.c (java_init_decl_processing): Fix types of
+ _Jv_MonitorEnter, _Jv_MonitorExit, _Jv_AllocObject,
+ _Jv_AllocObjectNoFinalizer, _Jv_Throw, _Jv_NewPrimArray,
+ _Jv_JNI_PopSystemFrame, _Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ.
+
+2005-03-31 Jan Hubicka <jh@suse.cz>
+
+ * Make-lang.in (class.o, decl.o): Depend on cgraph.h.
+ * class.c: Include cgraph.h
+ (make_local_functoin_alias): Mark aslias as needed.
+ * resource.c: Include cgraph.h
+ (compile_resource_data): Go via cgraph interface.
+
+2005-03-30 Ian Lance Taylor <ian@airs.com>
+
+ * parse.y (maybe_yank_clinit): Don't crash if bbody is NULL.
+
+2005-03-30 Tom Tromey <tromey@redhat.com>
+
+ * jcf-dump.c (HANDLE_INNERCLASSES_ATTRIBUTE): Handle cases where
+ inner_class_info_index==0 or outer_class_info_index==0.
+
+2005-03-29 Tom Tromey <tromey@redhat.com>
+
+ * gcj.texi (libgcj Runtime Properties): Document
+ gnu.gcj.runtime.endorsed.dirs.
+
+2005-03-24 Anthony Green <green@redhat.com>
+
+ * gcj.texi (Invoking gcj-dbtool): Document new LIBDIR option to
+ 'gcj-dbtool -p'.
+
+2005-03-23 Tom Tromey <tromey@redhat.com>
+
+ * decl.c (GCJ_CURRENT_BC_ABI_VERSION): New define.
+ (parse_version): Use it.
+
+2005-03-23 Joseph S. Myers <joseph@codesourcery.com>
+
+ * lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove.
+
+2005-03-18 Andrew Haley <aph@redhat.com>
+
+ PR java/20522
+ * decl.c (update_aliases): Don't update variables that are about
+ to die.
+ (maybe_poplevels): Add comment.
+
+2005-03-17 Bryce McKinlay <mckinlay@redhat.com>
+
+ PR java/20502
+ * jcf-parse.c (duplicate_class_warning): New function.
+ (java_parse_file): Call duplicate_class_warning if
+ CLASS_FROM_CURRENTLY_COMPILED_P is already set.
+ (parse_zip_file_entries): Likewise. Also set
+ CLASS_FROM_CURRENTLY_COMPILED_P.
+
+2005-03-16 Andrew Haley <aph@redhat.com>
+
+ * expr.c (expand_java_arrayload): Don't generate a
+ NullPointerException based on the type of the node.
+ (build_java_array_length_access): Likewise.
+
+2005-03-15 Zack Weinberg <zack@codesourcery.com>
+
+ * Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi.
+
+2005-03-11 Tom Tromey <tromey@redhat.com>
+
+ * gcj.texi (Invoking gcj-dbtool): Document 'gcj-dbtool -p'.
+ (libgcj Runtime Properties): Document the default .db.
+
2005-03-10 Ranjit Mathew <rmathew@hotmail.com>
PR java/20312
2005-03-09 Ranjit Mathew <rmathew@hotmail.com>
PR java/20338
- * decl.c (finish_method): Emit _Jv_InitClass for private static
+ * decl.c (finish_method): Emit _Jv_InitClass for private static
methods inside inner classes as well.
2005-03-08 Julian Brown <julian@codesourcery.com>
2005-03-07 Ranjit Mathew <rmathew@hotmail.com>
- * lang.c (flag_new_verifier): Enable by default, regardless of ABI.
+ * lang.c (flag_new_verifier): Enable by default, regardless of ABI.
2005-03-07 Bryce McKinlay <mckinlay@redhat.com>
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.
+ 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>
new verifier.
(find_local_variable): Promote all boolean types to int
when searching for local variable decls.
-
+
2005-02-12 Kazu Hirata <kazu@cs.umass.edu>
* builtins.c, java-except.h, jcf-parse.c, jv-scan.c, lex.c,
* convert.h (convert_to_boolean, convert_to_char) : Remove.
* expr.c (expand_load_internal): Do type conversion if type is not
as required.
-
+
2004-12-13 Danny Smith <dannysmith@users.sourceforge.net>
PR target/18459
PR java/18811:
* jcf-parse.c (load_class): Remove sanity test for missing inner
class file.
-
+
2004-12-06 Tom Tromey <tromey@redhat.com>
* Make-lang.in (JAVA_MANFILES): Added gcj-dbtool.
range we're demoting.
2004-12-03 Andrew Haley <aph@redhat.com>
-
- PR java/18697
+
+ PR java/18697
* class.c (layout_class_method): Don't fail to override a method
simply because it has DECL_ARTIFICIAL set.
(build_signature_for_libgcj): Move here from expr.c.
(add_assertion_table_entry): New function. Callback for assertion
hashtable traversal.
- (emit_assertion_table): New. Take class argument, and generate
+ (emit_assertion_table): New. Take class argument, and generate
assertion table DECL based on the TYPE_ASSERTIONS hashtable.
* decl.c (init_decl_processing): Define assertion_entry_type record.
Push 'assertion_table' class field instead of 'verify'.
(add_type_assertion): Rewritten. Take class and assertion_code
arguments. Add assertions to the TYPE_ASSERTIONS hashtable.
(can_widen_reference_to): Use new add_type_assertion() arguments.
- * java-tree.h (java_tree_index): Add JTI_ASSERTION_ENTRY_TYPE,
+ * java-tree.h (java_tree_index): Add JTI_ASSERTION_ENTRY_TYPE,
JTI_ASSERTION_TABLE_TYPE. Remove JTI_VERIFY_IDENTIFIER_NODE.
(verify_identifier_node): Removed.
(assertion_entry_type, assertion_table_type): New.
(vfy_note_local_type): Likewise.
* verify.h (vfy_is_assignable_from): Declare.
* verify-impl.c (is_assignable_from_slow): Remove unused function.
- (ref_compatible): Rename arguments. Call vfy_is_assignable_from()
+ (ref_compatible): Rename arguments. Call vfy_is_assignable_from()
instead of is_assignable_from_slow().
(types_compatible): Reinstate ref_compatible() call.
2004-10-20 Bryce McKinlay <mckinlay@redhat.com>
- * verify-impl.c (type_array_elementpop_raw, vfy_pop_type_t,
+ * verify-impl.c (type_array_elementpop_raw, vfy_pop_type_t,
vfy_push_type_t, set_variable, add_new_state, merge_into,
handle_jsr_insn, branch_prepass, check_class_constant,
- check_wide_constant, get_one_type, compute_static_types,
+ check_wide_constant, get_one_type, compute_static_types,
verify_instructions_0): Clean up C99 declarations after statements.
2004-10-20 Tom Tromey <tromey@redhat.com>
if flag_new_verifier is set.
* java-tree.h (flag_new_verifier): Declare.
* lang.opt (fnew-verifier): New option.
- * verify-impl.c: Work around namespace pollution by undef'ing
+ * verify-impl.c: Work around namespace pollution by undef'ing
'current_class'.
(struct verifier_context): Make 'bytecode' const.
(verify_fail_pc): Pass -1 PC argument to vfy_fail.
2004-10-13 Bryce McKinlay <mckinlay@redhat.com>
- * verify-impl.c: Formatting fixes. Reformat C++-style comments to
+ * verify-impl.c: Formatting fixes. Reformat C++-style comments to
C-style.
2004-10-06 Bryce McKinlay <mckinlay@redhat.com>
interfaces.
* expr.c (add_type_assertion): Don't generate assertions when
source type is array of Object.
-
+
2004-09-03 Andrew Haley <aph@redhat.com>
* class.c (finish_class): Nullify TYPE_VERIFY_METHOD.
soft_lookupinterfacemethodbyname_node.
* gjavah.c (print_method_info): Final methods have vtable entries,
- so gjavah needs to output them.
+ so gjavah needs to output them.
* class.c (layout_class_method): Generate vtable entries for final
methods.
* parse.y (invocation_mode): Use INVOKE_VIRTUAL for indirect
* class.c (build_symbol_entry): Convert the names of constructors
to init_identifier_node when generating an entry for the indirect
dispatch table.
-
+
* expr.c (build_known_method_ref): Generate indirect calls for
all methods marked DECL_EXTERNAL or TREE_PUBLIC.
2004-05-24 Andrew Haley <aph@redhat.com>
- * expr.c (build_known_method_ref): Make sure ARRAY_REF access to
- atable element is of the right type.
+ * expr.c (build_known_method_ref): Make sure ARRAY_REF access to
+ atable element is of the right type.
- * class.c (build_static_field_ref): Cast pointer to correct type
- for field.
+ * class.c (build_static_field_ref): Cast pointer to correct type
+ for field.
2004-04-20 Bryce McKinlay <mckinlay@redhat.com>
(build_known_method_ref): Always use indirect dispatch via the
atable for static methods.
- (expand_java_NEW): Break out object creation into new function,
+ (expand_java_NEW): Break out object creation into new function,
java_create_object.
(can_widen_reference_to): Issue a warning to say that we need to
* gjavah.c (output_directory): Make static.
(temp_directory): Likewise.
-
+
2004-11-15 Tom Tromey <tromey@redhat.com>
* decl.c (instn_ptr_type_node): Removed.
* decl.c (end_java_method): Remove duplicated code.
2004-11-06 Zack Weinberg <zack@codesourcery.com>
- Gerald Pfeifer <gerald@pfeifer.com>
+ Gerald Pfeifer <gerald@pfeifer.com>
* lex.h (HAVE_ICONV): Undefine if we do not have HAVE_ICONV_H
as well.
2004-11-02 Bryce McKinlay <mckinlay@redhat.com>
PR java/17265
- * class.c: Reinstate 2004-08-18 patch.
+ * class.c: Reinstate 2004-08-18 patch.
(make_local_function_alias): Don't create an alias for extern (native)
functions.
* lang.c (java_tree_inlining_walk_subtrees): Last arg is struct
pointer_set_t* now.
-
+
2004-10-13 Tom Tromey <tromey@redhat.com>
PR java/15578: