OSDN Git Service

PR java/19742:
[pf3gnuchains/gcc-fork.git] / gcc / java / ChangeLog
index fc28a08..aad92c7 100644 (file)
@@ -1,5 +1,242 @@
+2005-02-01  Tom Tromey  <tromey@redhat.com>
+
+       PR java/19742:
+       * gjavah.c (get_field_name): Don't override name for JNI header.
+
+2005-02-01  Roger Sayle  <roger@eyesopen.com>
+
+       * jcf-write.c (generate_bytecode_insns): Implement RSHIFT_EXPR
+       of unsigned types using iushr and lushr JVM bytecodes.
+
+2005-02-02  Ranjit Mathew  <rmathew@hotmail.com>
+
+       PR java/19738
+       * gjavah.c (jni_print_float): Do not emit floating-point
+       initialiser for a static final field.
+       (jni_print_double): Likewise.
+
+2005-02-01  Mark Mitchell  <mark@codesourcery.com>
+
+       Revert:
+       2005-01-31  Mark Mitchell  <mark@codesourcery.com>
+       * gjavah.c (print_field_info): Mark static data members of
+       floating-point type with "__extension__".
+
+2005-01-31  Mark Mitchell  <mark@codesourcery.com>
+
+       * gjavah.c (print_field_info): Mark static data members of
+       floating-point type with "__extension__".
+
+2005-02-01  Ranjit Mathew  <rmathew@hotmail.com>
+
+       PR java/9157
+       * parse.y (build_string_concatenation): Remove redundant if.
+       (patch_conditional_expr): Attempt to patch_string() the condition
+       of a ?: as well, in addition to its other operands.
+
+2005-01-25  Tom Tromey  <tromey@redhat.com>
+
+       * Make-lang.in (java/java-tree-inline.o): Removed.
+
+2005-01-25  Ranjit Mathew  <rmathew@hotmail.com>
+
+       PR java/19070
+       * parse.y (patch_binop): Allow comparisons against NULL only
+       if the other operand is of a reference type.
+
+2005-01-24  Tom Tromey  <tromey@redhat.com>
+
+       * java-tree.h (gcj_abi_version): Declare.
+       * class.c (make_class_data): Push gcj_abi_version into "next"
+       field.  Renamed field.
+       * decl.c (gcj_abi_version): New global.
+       (parse_version): New function.
+       (java_init_decl_processing): Call it.  Renamed 'next' field.
+       Include version.h.
+       (GCJ_BINARYCOMPAT_ADDITION): New define.
+
+2005-01-24  Roger Sayle  <roger@eyesopen.com>
+
+       PR java/19295
+       * jcf-write.c (generate_bytecode_insns): Conversions between
+       integer types of the same precision shouldn't generate widening
+       or narrowing conversion bytecodes.
+
+2005-01-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * java-except.h, java-tree.h: Remove unused prototypes.
+
+2005-01-20  Andrew Pinski  <pinskia@gcc.gnu.org>
+
+       PR java/18091:
+       * jcf-write.c (perform_relocations): Don't call memcpy if source
+       and destination are the same.
+
+2005-01-17  Tom Tromey  <tromey@redhat.com>
+
+       * verify-impl.c (get_short): Sign extend.
+       (get_int): Likewise.
+
+2005-01-12  Ranjit Mathew  <rmathew@hotmail.com>
+
+       * expr.c (build_jni_stub): Replace mistaken use of TYPE_SIZE_UNIT
+       with TYPE_SIZE.
+
+2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
+
+       * verify.c: Revert to the version before the BC-ABI merge.
+
+2005-01-10  Ranjit Mathew  <rmathew@hotmail.com>
+
+       PR java/19277
+       * check-init.c (check_init): Take care of references that do not
+       have an explicit final variable declaration (e.g. array length
+       access) for pre/post in/de-crement operators.
+
+2005-01-08  Mark Wielaard  <mark@klomp.org>
+
+       * parse.y (process_imports): Allocate (and free) original_name only
+       when not already defined.
+       * jcf-parse.c (read_class): Free results of find_class() and
+       lrealpath().
+       (java_parse_file): Keep pointer to head of file_list and free when
+       done. Free result of lrealpath().
+
+2005-01-05  Tom Tromey  <tromey@redhat.com>
+
+       * gcj.texi (Standard Properties): java.ext.dirs is now used.
+
+2004-12-20  Andrew Haley  <aph@redhat.com>
+
+       * typeck.c: Use fold_convert for ints and booleans.
+
+2004-12-17  Andrew Haley  <aph@redhat.com>
+
+       PR java/18931
+       * typeck.c (convert): Use a CONVERT_EXPR when converting to
+       BOOLEAN_TYPE or CHAR_TYPE.
+       (convert_to_boolean, convert_to_char) : Remove.
+       * 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
+       * class.c (emit_register_classes): Use TARGET_USE_JCR_SECTION.
+       Update comment.
+
+2004-12-07  Andrew Haley  <aph@redhat.com>
+
+       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.
+       (java.uninstall): Likewise.
+       (java.maintainer-clean): Likewise.
+       (.INTERMEDIATE): Likewise.
+       (java.install-man): Likewise.
+       (gcj-dbtool.pod): New target.
+       * gcj.texi (Code Generation): Document -findirect-dispatch.
+       (libgcj Runtime Properties): Document
+       gnu.gcj.precompiled.db.path.
+       (Top): Link to "Invoking gcj-dbtool".
+
+2004-12-06  Tom Tromey  <tromey@redhat.com>
+
+       PR java/14853:
+       * java-tree.h (extract_field_decl): Declare.
+       * parse.y (extract_field_decl): Renamed from
+       strip_out_static_field_access_decl.  No longer static.
+       * check-init.c (get_variable_decl): Unwrap COMPOUND_EXPRs.
+
+2004-12-03  Tom Tromey  <tromey@redhat.com>
+
+       * lang.c (flag_new_verifier): Define.
+       (java_post_options): Set flag_new_verifier if indirect dispatch
+       is being used.
+       * lang.opt (fnew-verifier): Removed.
+
+2004-12-03  Tom Tromey  <tromey@redhat.com>
+
+       PR bootstrap/14614:
+       * Make-lang.in (java.install-common): Only install transformed
+       gcjh if gcj-cross exists.
+
+2004-12-03  Andrew Haley  <aph@redhat.com>
+
+       PR java/18812
+       * except.c (link_handler): Patch 'outer' field of siblings of the
+       range we're demoting.
+
+2004-12-03  Andrew Haley  <aph@redhat.com>
+       
+       PR java/18697 
+       * class.c (layout_class_method): Don't fail to override a method
+       simply because it has DECL_ARTIFICIAL set.
+
+2004-12-02  Tom Tromey  <tromey@redhat.com>
+
+       PR java/16675:
+       * parse.y (craft_constructor): Special case null_pointer_node.
+
+2004-12-02  Tom Tromey  <tromey@redhat.com>
+
+       PR java/18741:
+       * java-gimplify.c (java_gimplify_expr): Don't call
+       SET_EXPR_LOCATION unless wrapped tree is an expression.
+
+2004-11-27  Per Bothner  <per@bothner.com>
+
+       * jcf-parse.c (set_source_filename):  Improvement to Andrew's fix:
+       Fix fencepost error in 'i', which got executed one too many times.
+       Also, fold memcpy into explicit loop, as originally intended.
+       Also, free temporary 'buf' which otherwise leaks.
+
+2004-11-27  Per Bothner  <per@bothner.com>
+
+       * expr.c (build_expr_wfl): Only declare last_file and last_filenode
+       local static variables if not USE_MAPPED_LOCATION.
+
+2004-11-27  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * class.c, decl.c, expr.c: Fix comment typos.
+
+2004-11-26  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR java/18305
+       * decl.c (end_java_method): Call
+       attach_init_test_initialization_flags on all the init_decls.
+       * parse.y (attach_init_test_initialization_flags): Move to ...
+       * expr.c (attach_init_test_initialization_flags): here and
+       support BIND_EXPR also.
+       * java-tree.h (attach_init_test_initialization_flags): Prototype.
+       * jcf-parse.c (parse_class_file): Don't disable class init
+       optimization.
+
+2004-11-25  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * gjavah.c, jcf-dump.c, jv-scan.c, jvspec.c: Avoid ` as left quote
+       in diagnostics.
+
+2004-11-24  Richard Henderson  <rth@redhat.com>
+
+       * verify-glue.c (vfy_init_name, vfy_clinit_name, vfy_object_type,
+       vfy_string_type, vfy_throwable_type): Use ANSI declaration form.
+
 2004-11-24  Tom Tromey  <tromey@redhat.com>
 
+       * verify.c (defer_merging): Don't use C++-style comment.
+       * verify.h (java_opcode): Added java_opcode_end.
+       * class.c (build_class_ref): Remove C++ comment and old FIXME.
+
+       * verify-impl.c (vfy_push_type): Removed bogus "return".
+       (initialize_stack): Use vfy_alloc and vfy_free.
+       (verify_instructions_0): Likewise.
+
        * Merged gcj-abi-2-dev-branch to trunk.
 
 2004-11-24  Andrew Haley  <aph@redhat.com>