+2002-01-14 Matthias Klose <doko@debian.org>
+
+ * gcj.texi: Fix whitespace and formatting errors in the
+ synopsis of the man pages. Update copyright.
+
+2002-01-14 Tom Tromey <tromey@redhat.com>
+
+ For PR libgcj/5303:
+ * Make-lang.in (java.install-man): Handle jv-convert man page.
+ (java.generated-manpages): Added jv-convert.1.
+ (java.uninstall): Remove jv-convert.1.
+ (java.maintainer-clean): Likewise.
+ ($(srcdir)/java/jv-convert.1): New target.
+ * gcj.texi (Top): Link to jv-convert node.
+ (Individual utilities): Likewise.
+ (Invoking jv-convert): New node.
+
+2001-01-10 Jeff Sturm <jsturm@one-point.com>
+ Martin Kahlert <martin.kahlert@infineon.com>
+
+ * jcf-parse.c (get_constant): Don't swap lo/hi for big
+ endian targets when HOST_BITS_PER_WIDE_INT >= 64.
+
+2002-01-03 Graham Stott <grahams@redhat.com>
+
+ * class.c (compile_resource_file): Update copyright date.
+ Constify filename parameter.
+ (java-tree.h): Update copyright date.
+ (compile_resource_file): Constify filename parameter.
+
+2002-01-03 Graham Stott <grahams@redhat.com>
+
+ * gcc/jcf-parse.c: Update copyright date.
+ (yyparse): Constify resource_filename.
+
+2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * parse.y (src_parse_roots): Don't needlessly zero init.
+
+2001-12-31 Tom Tromey <tromey@redhat.com>
+
+ * parse.y (dump_java_tree): New function.
+ (source_end_java_method): Call it.
+ (end_class_declaration): Likewise.
+ * lang.c (java_decode_option): Call dump_switch_p.
+
+2001-12-28 Tom Tromey <tromey@redhat.com>
+
+ * gen-table.pl: Don't process characters after \uffff. Added
+ comment pointing to input file.
+
+2001-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * gen-table.pl: Const-ify output. Document the location of a
+ suitable unicode input file.
+
+ * chartables.h: Regenerate.
+
+2001-12-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * chartables.h: Const-ify.
+ * gjavah.c (options): Likewise.
+ * jcf-dump.c (options): Likewise.
+ * jv-scan.c (options): Likewise.
+ * lex.c (java_start_char_p, java_part_char_p): Likewise.
+ * parse.y (binop_lookup): Likewise.
+
+2001-12-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * Make-lang.in (keyword.h): Pass -C to gperf to const-ify
+ the static arrays that are output.
+ * jvspec.c (jvgenmain_spec): Make static.
+ * keyword.gperf (struct java_keyword, java_keyword): Const-ify.
+ * keyword.h: Regenerate.
+ * lang.c (string_option, process_option_with_no, lang_f_options,
+ lang_W_options): Const-ify.
+ * lex.c (java_lex): Likewise.
+
+2001-12-21 Richard Henderson <rth@redhat.com>
+
+ * boehm.c (PROCEDURE_OBJECT_DESCRIPTOR): Merge into ..
+ (get_boehm_type_descriptor): ... here. Arrange for the
+ TREE_TYPE to get set properly.
+
+2001-12-21 Richard Henderson <rth@redhat.com>
+
+ * class.c (compile_resource_file): Set TREE_PUBLIC on the constructor
+ only if the target requires collect2.
+
+ * class.c (build_class_ref): Mark _Jv_fooClass DECL_EXTERNAL.
+
+2001-12-20 Tom Tromey <tromey@redhat.com>
+
+ For PR java/4509:
+ * parse.y (java_complete_lhs) [COMPOUND_EXPR]: Correctly compute
+ CAN_COMPLETE_NORMALLY for the node.
+ * jcf-write.c (generate_bytecode_insns) [COMPOUND_EXPR]: Don't
+ generate code for second branch if first branch can't complete
+ normally.
+ (generate_bytecode_insns) [LOOP_EXPR]: Don't generate `goto' to
+ the loop head if the loop body can't complete normally.
+
+2001-12-20 Tom Tromey <tromey@redhat.com>
+
+ For PR java/4766:
+ * jcf-write.c (generate_bytecode_insns) [TRY_FINALLY_EXPR]: Handle
+ case where `finally' clause can't complete normally.
+
+2001-12-20 Tom Tromey <tromey@redhat.com>
+
+ Fixes PR java/5057:
+ * parse.y (analyze_clinit_body): Added this_class parameter.
+ Check for more cases where we must keep <clinit>.
+ (maybe_yank_clinit): Cleaned up flow control.
+
+2001-12-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
+
+ * decl.c (java_init_decl_processing): Don't initialize
+ finit_leg_identifier_node.
+ * java-tree.h (java_tree_index): Remove JTI_FINIT_LEG_IDENTIFIER_NODE.
+ (finit_leg_identifier_node): Remove.
+ (ID_FINIT_P): Don't check for JTI_FINIT_LEG_IDENTIFIER_NODE.
+
+2001-12-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
+
+ * mangle.c (mangle_member_name): Don't special-case for
+ NO_DOLLAR_IN_LABEL.
+ * mangle_name.c (unicode_mangling_length): Likewise.
+ (append_unicode_mangled_name): Likewise.
+ * parse.y (make_nested_class_name): Remove dead NO_DOLLAR_IN_LABEL
+ code.
+
+2001-12-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
+
+ * expr.c (build_java_array_length_access): Don't force null pointer
+ check unless flag_check_references is set.
+
+2001-12-20 Tom Tromey <tromey@redhat.com>
+
+ Fix for PR java/3417:
+ * parse.y (patch_assignment): Added special processing for
+ `return'.
+ (patch_return): Don't convert booleans to integers, and don't
+ special-case `null'.
+
+2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * config-lang.in (diff_excludes): Remove.
+
+2001-12-17 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * gcj.texi: Update link to GCC manual.
+
+2001-12-17 Tom Tromey <tromey@redhat.com>
+
+ * parse.y (link_nested_class_to_enclosing): Removed useless
+ statement.
+
+2001-12-16 Tom Tromey <tromey@redhat.com>
+
+ * mangle.c (mangle_method_decl): Never emit `C2' constructor.
+ Fixes PR java/5088.
+
+2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk>
+
+ * ChangeLog, Make-lang.in, class.c, expr.c, gcj.texi, java-tree.h,
+ jcf-parse.c, jcf-write.c, lex.c, parse.h, parse.y, verify.c: Fix
+ spelling errors.
+
+2001-12-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * lex.c (java_read_unicode, java_lex): Use hex_p/hex_value.
+
+2001-12-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
+
+ * decl.c (java_init_decl_processing): Build otable_type correctly.
+ otable_decl is an otable_type.
+
+2001-12-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
+
+ * java-tree.h (otable_methods, otable_decl, otable_syms_decl,
+ otable_type, otable_ptr_type, method_symbol_type,
+ method_symbols_array_type, method_symbols_array_ptr_type): New
+ field/global tree definitions.
+ (flag_indirect_dispatch): New flag.
+ * decl.c (java_init_decl_processing): Initialize new otable and
+ otable_syms type nodes and decls. Add new field "index" to
+ method_type_node.
+ * class.c (build_method_symbols_entry): New function.
+ (make_method_value): Set "index" to to method's vtable index for
+ virtual methods when indirect-dispatch is not used.
+ (make_class_data): For indirect-dispatch, don't emit the dtable_decl,
+ and set vtable_method_count to -1. Set otable and otable_syms field
+ if indirect-dispatch is used and there was something to put in them.
+ (build_method_symbols_entry): New function.
+ (emit_offset_symbol_table): New function.
+ * expr.c (get_offset_table_index): New function.
+ (build_invokevirtual): Build array reference to otable at the index
+ returned by get_offset_table_index, and use the result as the vtable
+ offset.
+ (build_invokeinterface): Similar.
+ * jcf-parse.c (yyparse): If indirect-dispatch, call
+ emit_offset_symbol_table at the end of compilation, after all classes
+ have been generated.
+ * jvspec.c: Don't pass findirect-dispatch to jvgenmain.
+ * lang.c (flag_indirect_dispatch): Define.
+ (lang_f_options): Add indirect-dispatch flag.
+
+2001-12-14 Matthias Klose <doko@debian.org>
+
+ * gcj.texi: Markup for man page generation. Document missing
+ options printed by <tool> --help.
+ Terminate description of gij's -ms option with a dot.
+ * Make-lang.in ($(srcdir)/java/*.1): New targets.
+ (java.generated-manpages java.install-man, java.uninstall,
+ java-maintainer-clean) Updated.
+
+2001-12-14 Hans Boehm <Hans_Boehm@hp.com>
+
+ * class.c (get_dispatch_table): Fix java vtable layout
+ for TARGET_VTABLE_USES_DESCRIPTORS.
+ * decl.c (java_init_decl_processing): Initialize
+ alloc_no_finalizer_node, finalize_identifier_node.
+ * expr.c (class_has_finalize_method): New function.
+ (expand_java_NEW): Generate calls for finalizer-free allocation.
+ (build_invokevirtual): Fix java vtable layout for
+ TARGET_VTABLE_USES_DESCRIPTORS.
+ * java-tree.h (enum java_tree_index): New entries:
+ JTI_ALLOC_NO_FINALIZER_NODE, JTI_FINALIZE_IDENTIFIER_NODE.
+ (alloc_no_finalizer_node, finalize_deintifier_node): New macros.
+ (class_has_finalize_method): declare.
+ (HAS_FINALIZER_P): New macro.
+ * parse.y (patch_invoke): Generate calls for finalizer-free
+ allocation.
+
+2001-12-12 Matthias Klose <doko@debian.org>
+
+ * Make-lang.in: JAVA_INSTALL_NAME, JAVA_CROSS_NAME: Remove
+ whitespace at end of line.
+
+2001-12-11 Tom Tromey <tromey@redhat.com>
+
+ * lex.c (java_init_lex): Define wfl_to_string as
+ gnu.gcj.runtime.StringBuffer unless generating bytecode.
+
+2001-12-11 Jeff Sturm <jsturm@one-point.com>
+
+ * class.c (make_method_value): Use null_pointer_node to
+ represent empty exception table.
+
+2001-12-10 Tom Tromey <tromey@redhat.com>
+
+ * check-init.c (check_init) [SWITCH_EXPR]: Use SWITCH_HAS_DEFAULT.
+
+Mon Dec 10 06:09:57 2001 Douglas B. Rupp <rupp@gnat.com>
+
+ * Make-lang.in (jvspec.o): Add $(OUTPUT_OPTION).
+
+2001-12-09 Per Bothner <per@bothner.com>
+
+ * check-init.c (current_switch_has_default): New static field.
+ (check_init): Case DEFAULT_EXPR: Set current_switch_has_default.
+ Case SWITCH_EXPR: Save/restore current_switch_has_default. If no
+ DEFAULT_EXPR seen, simulate a default alternative that copies state.
+
+2001-12-09 Tom Tromey <tromey@redhat.com>
+
+ * check-init.c (check_init): Don't allow pre- or post- increment
+ or decrement of final variable.
+ (final_assign_error): Minor error message rewording.
+
2001-12-08 Tom Tromey <tromey@redhat.com>
+ * java-tree.h: Fixed typo.
+
+ * gjavah.c (decompile_method): Don't decompile to `return this'
+ for static methods.
+
+ * gjavah.c (cxx_keywords): Re-sorted.
+ * lex.c (cxx_keywords): Re-sorted.
+
+ * gjavah.c (HANDLE_METHOD): Set `decompiled' before doing anything
+ else.
+
* gjavah.c (print_namelet): Clear subnamelets.
(HANDLE_METHOD): Set `method_printed' earlier.
2001-08-28 Per Bothner <per@bothner.com>
* jcf-write.c (generate_bytecode_insns): For increments and
- decrements just recurse to push constant. Improvement on Mark's patch.
+ decrements just recurse to push constant. Improvement on Mark's patch.
2001-08-28 Mark Mitchell <mark@codesourcery.com>
2001-08-06 Richard Henderson <rth@redhat.com>
- * class.c (emit_register_classes): Pass a symbol_ref and priority
+ * class.c (emit_register_classes): Pass a symbol_ref and priority
to assemble_constructor.
2001-08-02 Alexandre Petit-Bianco <apbianco@redhat.com>
2001-08-01 Jeff Sturm <jsturm@one-point.com>
- * java-tree.h (BUILD_FILENAME_IDENTIFIER_NODE):
- Use ggc_add_tree_root to register roots.
+ * java-tree.h (BUILD_FILENAME_IDENTIFIER_NODE):
+ Use ggc_add_tree_root to register roots.
2001-07-31 Alexandre Petit-Bianco <apbianco@redhat.com>
2001-05-18 Per Bothner <per@bothner.com>
* jvspec.c (lang_specific_pre_link): Re-arrange the linker
- command line so the jvgenmain-generated main program comes first.
+ command line so the jvgenmain-generated main program comes first.
2001-05-15 Tom Tromey <tromey@redhat.com>
2001-05-03 Mo DeJong <mdejong@redhat.com>
- * lex.c (java_new_lexer): Call iconv_close on temp handle used to
+ * lex.c (java_new_lexer): Call iconv_close on temp handle used to
check for byte swap.
2000-05-02 Jeff Sturm <jsturm@one-point.com>
2001-03-19 Andrew Haley <aph@cambridge.redhat.com>
- * class.c (build_static_field_ref): Call make_decl_rtl() after
- setting the DECL_EXTERNAL flag.
+ * class.c (build_static_field_ref): Call make_decl_rtl() after
+ setting the DECL_EXTERNAL flag.
2001-03-17 Per Bothner <per@bothner.com>
* Make-lang.in (jvspec.o): Modify rule to match that of cp/g++spec.o.
2001-02-14 Tom Tromey <tromey@redhat.com>
- Alexandre Petit-Bianco <apbianco@cygnus.com>
+ Alexandre Petit-Bianco <apbianco@cygnus.com>
Fix for PR java/1261.
* typeck.c (build_java_array_type): Add public `clone' method to
* jvgenmain.c (main_method_prefix): Global variable removed.
(main_method_suffix): Likewise.
(do_mangle_classname): New function.
- (main): Call it. Format changed to accomodate new mangling scheme.
+ (main): Call it. Format changed to accommodate new mangling scheme.
* lex.c: (utf8_cmp): Conditionally prototyped.
(cxx_keywords): Moved from class.c, conditionally defined.
(utf8_cmp, cxx_keyword_p): Likewise.
* gen-table.pl: new file.
2000-11-20 Tom Tromey <tromey@cygnus.com>
- Alexandre Petit-Bianco <apbianco@cygnus.com>
+ Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (java_complete_lhs): Only allow compound assignment of
reference type if type is String.
* jcf-parse.c (get_constant): Don't mess with obstacks.
(read_class): Likewise.
(jcf_parse): Likewise.
- * lex.c (expresion_obstack): Remove.
+ * lex.c (expression_obstack): Remove.
(java_lex): Don't use obstack_free.
* parse.h (exit_java_complete_class): Don't mess with obstacks.
(MANGLE_OUTER_LOCAL_VARIABLE_NAME): Adjust.
(add_inner_class_fields): Adjust calls to MANGLE_* macros.
(lookup_field_wrapper): Likewise.
(obtain_incomplete_type): Don't mess with obstacks.
- (build_alias_initializer_paramter_list): Adjust calls to MANGLE_*
+ (build_alias_initializer_parameter_list): Adjust calls to MANGLE_*
macros.
(craft_constructor): Don't mess with obstacks.
(safe_layout_class): Likewise.
entering the function. `fprintf' format modified not to use
INNER_QUALIFIER.
(report_class_declaration): Assign `package_name' and
- `current_class' to NULL separatly.
+ `current_class' to NULL separately.
2000-07-31 Alexandre Petit-Bianco <apbianco@cygnus.com>
(maybe_make_nested_class_name): Mark nested class name as
qualified when necessary.
(end_class_declaration): Don't call java_parse_context_resume when
- one or more error occured.
+ one or more error occurred.
(add_inner_class_fields): Use SET_CPC_INITIALIZER_STMT.
(register_fields): Use SET_CPC_STATIC_INITIALIZER_STMT and
SET_CPC_INITIALIZER_STMT.
* parse.y (outer_field_access_fix): First parameter now a tree
node. Check for assignement to final. First argument to
- build_outer_field_access_fix modified to accomodate prototype.
+ build_outer_field_access_fix modified to accommodate prototype.
(build_outer_field_access): Don't check for assignment to final
here.
(java_complete_lhs): MODIFY_EXPR case: Check for `error_mark_node'
Tue Nov 30 12:36:15 1999 Anthony Green <green@cygnus.com>
* verify.c (verify_jvm_instructions): Create new return label
- chain if non existant (don't rely on the verified state of the jsr
+ chain if non existent (don't rely on the verified state of the jsr
target.)
Tue Nov 30 12:28:34 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
(yyerror): New static elc. Removed static error_line, error_pos.
New local code_from_source. Save ctxp->elc into elc at the first
pass. Call java_get_line_col to get a string of the line where
- the error occured.
+ the error occurred.
(debug_line): Removed static function.
(parse_error_context, parse_warning_context): Parameter cl is now
a WFL node. Use its value to initialize ctxp->elc.
* java-tree.h (PUSH_FIELD): Set DECL_ARTIFICIAL.
* class.c (make_class_data): Don't build fields_decl if no fields.
- When building fields_decl, skip if DECL_ARTIFICAL.
+ When building fields_decl, skip if DECL_ARTIFICIAL.
* expr.c (java_stack_swap): Update stack_type_map.
* verify.c (merge_types): Handle array types better.
* java-opcodes.h: Use javaop.def to avoid duplicated list.
* javaop.def: Rename invokevirt -> invokevirtual.
* lang.c (use_handles): Removed.
- * parse.c: Add support for ConstantValue atribute.
+ * parse.c: Add support for ConstantValue attribute.
Handle nested loading of a class. (JPOOL_UTF): New.
Tue Mar 11 20:11:05 1997 Per Bothner <bothner@deneb.cygnus.com>