+2003-10-28 Frank Ch. Eigler <fche@redhat.com>
+
+ * verify.c (verify_jvm_instructions): Don't warn about legal
+ eh binding regions generated for example by jdk 1.4.1.
+
+2003-10-24 David S. Miller <davem@redhat.com>
+
+ * jcf-parse.c (jcf_parse): Fix args to fatal_error().
+
+2003-10-22 Andrew Haley <aph@redhat.com>
+
+ * lang.c (LANG_HOOKS_GET_CALLEE_FNDECL): New.
+ (java_get_callee_fndecl): New.
+
+ * jcf-parse.c (java_parse_file): Call emit_catch_table().
+
+ * java-tree.h (ctable_decl): New.
+ (catch_classes): New.
+ (java_tree_index): Add JTI_CTABLE_DECL, JTI_CATCH_CLASSES.
+
+ * decl.c (java_init_decl_processing): Add catch_class_type.
+ Add ctable_decl.
+ Add catch_classes field.
+
+ * class.c (build_indirect_class_ref): Break out from
+ build_class_ref.
+ (make_field_value): Check flag_indirect_dispatch.
+ (make_class_data): Ditto.
+ Tidy uses of PUSH_FIELD_VALUE.
+ Add field catch_classes.
+ (make_catch_class_record): New.
+
+ * java-tree.h (PUSH_FIELD_VALUE): Tidy.
+
+2003-10-22 Kazu Hirata <kazu@cs.umass.edu>
+
+ * jcf-write.c: Follow spelling conventions.
+ * parse.y: Likewise.
+
+2003-10-22 Kazu Hirata <kazu@cs.umass.edu>
+
+ * ChangeLog: Fix typos.
+ * expr.c: Fix comment typos.
+ * jcf-write.c: Likewise.
+ * lang.c: Likewise.
+ * lex.c: Likewise.
+ * mangle.c: Likewise.
+ * parse-scan.y: Likewise.
+ * parse.y: Likewise.
+
+2003-10-22 Tom Tromey <tromey@redhat.com>
+
+ * expr.c (expand_byte_code): Only warn about dead bytecode when
+ extra_warnings is set.
+
+2003-10-22 Bryce McKinlay <bryce@mckinlay.net.nz>
+
+ Fix for PR java/12586.
+ * mangle.c (find_compression_record_match): Don't iterate through
+ package namespace elements unless they all match compression_table
+ entries.
+
+2003-10-20 Kelley Cook <kcook@gcc.gnu.org>
+
+ * Make-lang.in (info): Honor $(parsedir) and $(docobjdir).
+ (generate-manpages): Likewise.
+ (java.maintainer-clean): Likewise.
+ (gcj.info): Likewise.
+ (gcj.1): Likewise.
+ (gcjh.1): Likewise.
+ (jv-scan.1): Likewise.
+ (jcf-dump.1): Likewise.
+ (gij.1): Likewise.
+ (jv-convert.1): Likewise.
+ (rmic.1): Likewise.
+ (rmiregistry.1): Likewise.
+ (java.install-man): Likewise.
+ (parse-scan.o): Move and define complete compile line.
+ (parse.o): Likewise.
+ (jcf-tree-inline.o): Move.
+
+2003-10-20 Mark Mitchell <mark@codesourcery.com>
+
+ * Make-lang.in (info): Update dependencies.
+ (java.install-info): Remove.
+ ($(srcdir)/java/gcj.info): Replace with ...
+ ($(docobjdir)/gcj.info): ... this.
+
+2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org>
+
+ * Make-lang.in: Replace uses of $(target_alias) with
+ $(target_noncanonical).
+
+2003-10-09 Tom Tromey <tromey@redhat.com>
+
+ * decl.c (java_init_decl_processing): Declare signers field.
+ * class.c (make_class_data): Set signers field.
+
+2003-10-09 Jason Merrill <jason@redhat.com>
+
+ * parse.y (patch_assignment): Use make_node to create a BLOCK.
+ * parse.h (BUILD_PTR_FROM_NAME): Use make_node to create a
+ POINTER_TYPE.
+
+2003-10-06 Mark Mitchell <mark@codesourcery.com>
+
+ * Make-lang.in (java.info): Replace with ...
+ (info): ... this.
+ (java.dvi): Replace with ...
+ (dvi): ... this.
+ (java.generated-manpages): Replace with ...
+
+2003-10-03 Kelley Cook <kelleycook@wideopenwest.com>
+
+ * builtins.c, jcf.h, jvspec.c: Remove PARAMS macros.
+
+2003-10-01 Andrew Haley <aph@redhat.com>
+
+ * jcf-parse.c (java_parse_file): Write otable and atable.
+ * java-tree.h (atable_methods): New.
+ (atable_decl): New.
+ (atable_syms_decl): New.
+ (enum java_tree_index): Add JTI_ATABLE_METHODS, JTI_ATABLE_DECL,
+ JTI_ATABLE_SYMS_DECL. Rename JTI_METHOD_SYMBOL* to JTI_SYMBOL*.
+ (symbol_*type): Rename method_symbol* to symbol*type.
+ (emit_offset_symbol_table): Delete.
+ (emit_symbol_table): New.
+ (get_symbol_table_index): New.
+ (atable_type): New.
+ * expr.c (build_field_ref): Handle flag_indirect_dispatch.
+ (build_known_method_ref): Likewise.
+ (get_symbol_table_index): Rename from get_offset_table_index.
+ Parameterize to allow re-use by differing types of symbol table.
+ (build_invokevirtual): Pass table to get_offset_table_index.
+ * decl.c (java_init_decl_processing): Push types and decls for
+ atable and atable_syyms.
+ * class.c (build_static_field_ref): Handle flag_indirect_dispatch.
+ (make_class_data): Add new fields atable and atable_syms.
+ (emit_symbol_table): Rename from emit_offset_symbol_table.
+ Parameterize to allow re-use by different types of symbol table.
+ (build_symbol_entry): Renamed from build_method_symbols_entry.
+
+2003-09-30 Roger Sayle <roger@eyesopen.com>
+
+ * jcf-write.c (generate_bytecode_insns): Implement evaluate-once
+ semantics for SAVE_EXPR, by caching the result in a temporary.
+
+2003-09-28 Richard Henderson <rth@redhat.com>
+
+ * check-init.c (check_init): Save and restore input_location
+ instead of file and line separately.
+ * decl.c (java_expand_body): Likewise.
+ * jcf-write.c (generate_bytecode_insns): Likewise.
+ * parse.y (safe_layout_class): Likewise.
+ * jcf-parse.c (read_class, parse_class_file): Likewise.
+ (java_parse_file): Use %H for warning locator.
+
+2003-09-28 Roger Sayle <roger@eyesopen.com>
+
+ * expr.c (java_check_reference): Use the semantics of COND_EXPRs
+ with void-type branches instead of using a COMPOUND_EXPR.
+
+2003-09-28 Jeff Sturm <jsturm@one-point.com>
+
+ * decl.c (java_optimize_inline, dump_function): Remove.
+ * java-tree.h (java_optimize_inline): Remove declaration.
+ * jcf-parse.c (java_parse_file): Assume flag_unit_at_a_time is set.
+ * parse.y (source_end_java_method, java_expand_classes):
+ Likewise. Remove dead code.
+
+2003-09-27 Roger Sayle <roger@eyesopen.com>
+
+ * lang.c (java_init_options): Set flag_evaluation_order.
+ * expr.c (force_evaluation_order): Don't attempt to force
+ evaluation order of binary operations using save_expr.
+ * parse.y (java_complete_lhs): No longer need to call
+ force_evaluation_order when constructing binary operators.
+
+2003-09-27 Alexandre Petit-Bianco <apbianco@redhat.com>
+ Bryce McKinlay <bryce@mckinlay.net.nz>
+
+ PR java/1333:
+ * parse.y (not_accessible_field_error): New function.
+ (resolve_expression_name): Check field access permissions.
+ (resolve_qualified_expression_name): Use
+ not_accessible_field_error.
+ (resolve_qualified_expression_name): Likewise.
+
+2003-09-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * class.c (build_utf8_ref): Test for HAVE_GAS_SHF_MERGE value.
+
+2003-09-23 Roger Sayle <roger@eyesopen.com>
+
+ * jcf-write.c (generate_bytecode_insns): Optimize binary operations
+ with equal operands without side-effects.
+
+2003-09-22 Jeff Sturm <jsturm@one-point.com>
+
+ * decl.c (java_init_decl_processing): Don't emit otable decls
+ if flag_indirect_dispatch is not set.
+
+2003-09-21 Richard Henderson <rth@redhat.com>
+
+ * class.c, decl.c, jcf-parse.c, jcf-write.c, parse.y,
+ resource.c: Revert.
+
+2003-09-21 Richard Henderson <rth@redhat.com>
+
+ * class.c, decl.c, jcf-parse.c, jcf-write.c, parse.y,
+ resource.c: Update for DECL_SOURCE_LOCATION rename and change to const.
+
+2003-09-20 Richard Henderson <rth@redhat.com>
+
+ * check-init.c, class.c, decl.c, expr.c: Use %J in diagnostics.
+
+2003-09-18 Roger Sayle <roger@eyesopen.com>
+
+ * expr.c (java_truthvalue_conversion): Remove FFS_EXPR case.
+ * check-init.c (check_init): Likewise.
+
+2003-09-18 Roger Sayle <roger@eyesopen.com>
+
+ * jcf-write.c (generate_bytecode_insns): Add support for fconst_2.
+
+2003-09-16 Andrew Haley <aph@redhat.com>
+
+ * jcf-write.c (generate_bytecode_insns): Add MIN_EXPR and MAX_EXPR.
+
+2003-09-17 Ranjit Mathew <rmathew@hotmail.com>
+
+ Fixes PR java/9577
+ * mangle.c (find_compression_record_match): Skip
+ over a "6JArray" (the array template mangled string)
+ IDENTIFIER_NODE.
+ (mangle_array_type): Correct minor typo.
+ (atms): Move definition to the beginning.
+
+2003-09-16 Bryce McKinlay <bryce@mckinlay.net.nz>
+
+ * class.c (add_miranda_methods): Ensure super-interfaces are laid
+ out. Fix for PR java/12254.
+
+2003-09-11 Richard Henderson <rth@redhat.com>
+
+ * parse.y (source_end_java_method): Update for new
+ cgraph_finalize_function argument.
+
+2003-09-09 Richard Henderson <rth@redhat.com>
+
+ * parse.y (source_end_java_method): Update call to
+ cgraph_finalize_function.
+
+2003-09-03 Jeff Sturm <jsturm@one-point.com>
+
+ * decl.c (java_expand_body): New function.
+ * expr.c (build_class_init): Set DECL_IGNORED_P.
+ * java-tree.h (start_complete_expand_method,
+ java_expand_body): Declare.
+ * jcf-parse.c (cgraph.h): Include.
+ (java_parse_file): Handle flag_unit_at_a_time.
+ * lang.c (LANG_HOOKS_TREE_INLINING_START_INLINING,
+ LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Define.
+ (java_estimate_num_insns): Use walk_tree_without_duplicates.
+ (java_start_inlining): New function.
+ * parse.h (java_finish_classes): Declare.
+ * parse.y: Include cgraph.h.
+ (block): Don't special-case empty block production.
+ (craft_constructor): Set DECL_INLINE.
+ (source_end_java_method): Handle flag_unit_at_a_time.
+ Replace inline code with call to java_expand_body.
+ (start_complete_expand_method): Remove static modifier.
+ (java_expand_method_bodies): Patch function tree for
+ class initialization and/or synchronization as needed.
+ Don't begin RTL expansion yet.
+ (java_expand_classes): Check flag_unit_at_a_time before
+ calling finish_class.
+ (java_finish_classes): New function.
+ (java_complete_lhs): Ensure COMPOUND_EXPR has non-NULL type.
+ (patch_assignment): Set DECL_CONTEXT on temporary variable.
+ (emit_test_initialization): Set DECL_IGNORED_P.
+
+2003-09-03 Roger Sayle <roger@eyesopen.com>
+
+ * builtins.c (enum builtin_type): Delete unused enumeration.
+ * Make-lang.in (java/builtins.o): Remove built-types.def dependency.
+
+2003-08-28 Tom Tromey <tromey@redhat.com>
+
+ * gcj.texi (Extensions): Document gcjlib URLs.
+
+2003-08-20 Tom Tromey <tromey@redhat.com>
+
+ * gcj.texi (Extensions): Added xref.
+ (libgcj Runtime Properties): Document
+ gnu.gcj.runtime.VMClassLoader.library_control.
+
+2003-08-20 Andrew Haley <aph@redhat.com>
+
+ * except.c (prepare_eh_table_type): Use new encoding for exception
+ handlers when using -fno-assume-compiled.
+
+2003-08-13 Tom Tromey <tromey@redhat.com>
+
+ * gcj.texi (Invoking gij): Document -X and -?.
+
+2003-08-13 Mohan Embar <gnustuff@thisiscool.com>
+
+ * Make-lang.in: Added missing win32-host.o to JAVA_OBJS,
+ GCJH_OBJS, JCFDUMP_OBJS
+ * win32-host.c: Removed the unnecessary and broken dependency
+ on jcf.h
+
+2003-08-11 Tom Tromey <tromey@redhat.com>
+
+ * parse.y (java_check_regular_methods): Typo fixes. Call
+ check_interface_throws_clauses. Use
+ check_concrete_throws_clauses.
+ (check_interface_throws_clauses): New function.
+ (check_concrete_throws_clauses): New function.
+ (hack_is_accessible_p): New function.
+ (find_most_specific_methods_list): Added FIXME.
+ * typeck.c (lookup_do): Use `flags' argument to decide what to
+ do. Reimplemented.
+ (lookup_argument_method_generic): New function.
+ (lookup_argument_method2): Removed.
+ * jcf.h (ACC_INVISIBLE): New define.
+ * jcf-write.c (generate_classfile): Skip invisible methods.
+ * class.c (add_miranda_methods): New function.
+ (layout_class_methods): Use it.
+ (get_access_flags_from_decl): Use ACC_INVISIBLE.
+ * java-tree.h (METHOD_INVISIBLE): New define.
+ (lang_decl_func) [invisible]: New field.
+ (lookup_argument_method_generic): Declare.
+ (SEARCH_INTERFACE): New define.
+ (SEARCH_SUPER): Likewise.
+ (SEARCH_ONLY_INTERFACE): Likewise.
+ (SEARCH_VISIBLE): Likewise.
+ (lookup_argument_method2): Removed declaration.
+
+2003-08-05 Tom Tromey <tromey@redhat.com>
+
+ Fix for PR java/11600:
+ * parse.y (java_complete_lhs): See whether we're calling a method
+ on an array.
+ (check_thrown_exceptions): Added `is_array_call' argument;
+ fixed `clone' checking; updated all callers.
+
+2003-08-05 Steven Bosscher <steven@gcc.gnu.org>
+
+ * java-tree.h (DECL_ESTIMATED_INSNS): Remove (moved to tree.h).
+
+2003-08-03 Tom Tromey <tromey@redhat.com>
+
+ * java-tree.h (METHOD_TRANSIENT): Removed.
+ * decl.c (pushdecl): Removed some dead code.
+ * class.c (get_access_flags_from_decl): Can't have transient
+ method.
+ (add_method_1): Can't have a transient method.
+
+2003-07-28 Andreas Jaeger <aj@suse.de>
+
+ * jvspec.c: Convert to ISO C90 prototypes.
+
+2003-07-25 Nathan Sidwell <nathan@codesourcery.com>
+
+ * decl.c (force_poplevels): Fix warning call.
+
+2003-07-25 Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+ * expr.c (expand_java_field_op): Don't use xxx_with_decl
+ (expand_java_field_op): Likewise.
+ * class.c (layout_class_method): Likewise
+ (emit_register_classes): Likewise.
+ * decl.c (pushdecl): Likewise.
+ (poplevel): Likewise.
+ (force_poplevels): Likewise.
+ (give_name_to_locals): Likewise.
+ * check-init.c (check_for_initialization): Likewise.
+
+2003-07-24 Jason Merrill <jason@redhat.com>
+
+ * java-tree.h: Move boolean_type_node et al to the back end.
+
+2003-07-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * class.c java-tree.h jcf-write.c jvspec.c: Remove unnecessary
+ casts.
+
+2003-07-19 Neil Booth <neil@daikokuya.co.uk>
+
+ * lang.opt: Don't show -MD_ and -MDD_.
+
2003-07-18 Neil Booth <neil@daikokuya.co.uk>
* lang-options.h: Remove.
* expr.c: Remove the last argument to expand_assignment().
-Wed Jul 9 02:29:15 CEST 2003 Jan Hubicka <jh@suse.cz>
+2003-07-09 Jan Hubicka <jh@suse.cz>
* java-tree.h (DECL_NUM_STMTS): Rename to...
(DECL_ESTIMATED_INSNS): ... this.
* lang.c (java_init_options): Update.
-Thu Jun 5 18:33:40 CEST 2003 Jan Hubicka <jh@suse.cz>
+2003-06-05 Jan Hubicka <jh@suse.cz>
* Make-lang.in: Add support for stageprofile and stagefeedback
2001-08-31 Per Bothner <per@bothner.com>
- * class.c (set_constant_value): When not emiting class files, then a
+ * class.c (set_constant_value): When not emitting class files, then a
String ConstantValue is a utf8const_ptr_type.
2001-08-30 Per Bothner <per@bothner.com>
`finish_class' when compiling to native.
(resolve_expression_name): Use `orig' after building outer class
field access.
- (patch_invoke): Remember static method invokations.
+ (patch_invoke): Remember static method invocations.
2001-08-06 Richard Henderson <rth@redhat.com>
(add_instance_initializer): Use it.
(java_fix_constructors): Set `current_class' before fix pass.
(fix_constructors): Just return if already fixed. Move `super()'
- invokation ahead. Use `build_instance_initializer.'
+ invocation ahead. Use `build_instance_initializer.'
Fixes PR java/1315.
2001-04-04 Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (resolve_qualified_expression_name): Pass field's
DECL_CONTEXT to `not_accessible_p.'
(not_accessible_p): Changed parameters order in `inherits_from_p'
- invokation.
+ invocation.
2001-03-27 Andrew Haley <aph@cambridge.redhat.com>
2000-04-05 Alexandre Petit-Bianco <apbianco@cygnus.com>
- * jcf-write.c (generate_bytecode_insns): At invokation time,
+ * jcf-write.c (generate_bytecode_insns): At invocation time,
always relate an interface method to the type of its selector.
2000-04-05 Tom Tromey <tromey@cygnus.com>
2000-02-12 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (outer_field_access_fix): First parameter now a tree
- node. Check for assignement to final. First argument to
+ node. Check for assignment to final. First argument to
build_outer_field_access_fix modified to accommodate prototype.
(build_outer_field_access): Don't check for assignment to final
here.
1999-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
- * parse.y (java_complete_lhs): Force convertion of array
+ * parse.y (java_complete_lhs): Force conversion of array
dimensions to int_type_node, that's what runtime's ABI expects.
1999-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
1999-05-24 Alexandre Petit-Bianco <apbianco@cygnus.com>
* lex.c (java_lex): Accepts `+' or `-' after the beginning of a
- floating point litteral only when the exponent indicator has been
+ floating point literal only when the exponent indicator has been
parsed.
1999-05-22 Alexandre Petit-Bianco <apbianco@cygnus.com>
non accessible fields.
(java_stabilize_reference): New function.
(java_complete_lhs): Fixed indentation. Use
- java_stabilize_reference in compound assignement. Insert the
+ java_stabilize_reference in compound assignment. Insert the
cast. If not processing `+' fix string constants before processing
binop.
with assembler temp labels.
* parse.y (patch_synchronized_statement): Set TREE_SIDE_EFFECTS on
- MODIFY_EXPR. Without this, code for the assignement may not be
+ MODIFY_EXPR. Without this, code for the assignment may not be
generated at all and the synchronized statement will read an
uninitialized variable.
(block:): Likewise.
(labeled_statement_nsi:): Generate debug info when reducing
expression_statement:.
- (check_pkg_class_access): get_access_flags_from_decl invokation
+ (check_pkg_class_access): get_access_flags_from_decl invocation
fixed for new CLASS_* flags location.
(source_end_java_method): Save/restore parser context when
entering/leaving this routine. Restore lineno to its right value