OSDN Git Service

2006-02-20 Andrew Haley <aph@redhat.com>
[pf3gnuchains/gcc-fork.git] / gcc / java / ChangeLog
index a830972..49bfd3d 100644 (file)
@@ -1,3 +1,189 @@
+2006-02-20  Andrew Haley  <aph@redhat.com>
+
+       * jcf-parse.c (parse_class_file): Set input_location from
+       current_class.
+
+2006-02-15  Andrew Haley  <aph@redhat.com>
+
+       * class.c (GEN_TABLE): Don't pushdecl *_SYMS_DECL here.
+       (make_class_data): pushdecl_top_level TYPE_OTABLE_SYMS_DECL,
+       TYPE_ATABLE_SYMS_DECL, TYPE_ITABLE_SYMS_DECL here.
+
+2006-02-09  Andrew Haley  <aph@redhat.com>
+
+       PR java/26192
+       * expr.c (expand_invoke): Allow methods in arrays to be resolved
+       in their superclass.
+
+       * typeck.c (build_java_array_type): Generate TYPE_STUB_DECLs for
+       array types.
+       
+2006-02-08  Tom Tromey  <tromey@redhat.com>
+
+       PR java/22578:
+       * check-init.c (check_init): Handle VIEW_CONVERT_EXPR.
+       * builtins.c (convert_real): New function.
+       (java_builtins): Handle Float.intBitsToFloat,
+       Float.floatToRawIntBits, Double.longBitsToDouble,
+       Double.doubleToRawLongBits.
+
+2006-02-07  Andrew Haley  <aph@redhat.com>
+
+       * expr.c (expand_invoke): (BC mode.)  If we find a method in a
+       class other than the one in which we expected to find it, ignore
+       the result.
+
+       PR java/25535
+       * constants.c (build_constants_constructor): move initializer into
+       first halfword on a 64-bit big-endian machine.
+2006-02-04  Tom Tromey  <tromey@redhat.com>
+
+       PR java/25676:
+       * builtins.c (max_builtin): Skip floating point 'max'.
+       (min_builtin): Skip floating point 'min'.
+       (check_for_builtin): Never return NULL_TREE.
+
+2006-02-04  Tom Tromey  <tromey@redhat.com>
+
+       PR java/26097:
+       * expr.c (push_type): Avoid side effect in gcc_assert.
+
+2006-02-04  Roger Sayle  <roger@eyesopen.com>
+
+       * decl.c (java_init_decl_processing): Create char_type_node as a
+       regular INTEGER_TYPE node.
+       (push_promoted_type): Preserve TYPE_STRING_FLAG on types.
+       * typeck.c (convert): No longer check for CHAR_TYPEs but instead
+       test for char_type_node and promoted_char_type_node as special
+       instances of INTEGER_TYPE tree codes.
+       (promote_type,build_java_signature): Likewise.
+       * jcf-write.c (adjust_typed_op): Likewise.
+       * mangle.c (mangle_type): Likewise.
+       * parse.y (do_unary_numeric_promotion): No longer handle CHAR_TYPE.
+       * parse.h (JINTEGRAL_TYPE_P): Likewise.
+
+2006-02-04  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * expr.c (java_stack_swap): Revert gcc_assert patch.
+
+2006-02-03  Ben Elliston  <bje@au.ibm.com>
+
+       * java-gimplify.c: Use gcc_assert and gcc_unreachable throughout.
+       * typeck.c: Likewise.
+       * verify-impl.c: Likewise.
+       * class.c: Likewise.
+       * decl.c: Likewise.
+       * jcf-parse.c: Likewise.
+       * constants.c: Likewise.
+       * check-init.c: Likewise.
+       * jcf-write.c: Likewise.
+       * verify-glue.c: Likewise.
+       * mangle.c: Likewise.
+       * expr.c: Likewise.
+       * lang.c: Likewise.
+       * boehm.c: Likewise.
+
+2006-02-01  Jan Hubicka  <jh@suse.cz>
+
+       * decl.c (end_java_method): Kill hack disabling unit-at-a-time.
+       * lang.c (java_init_options): Set no_unit_at_a_time_default.
+
+2006-01-30  Andrew Haley  <aph@redhat.com>
+
+       PR java/21428
+       * parse.y: (source_start_java_method): Mark DECL_ARTIFICIAL("this").
+
+2006-01-21  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * jv-scan.c (version), jcf-dump.c (version), gjavah.c (version):
+       Update copyright notice dates.
+
+2006-01-16  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * jvspec.c (lang_specific_spec_functions): Remove.
+
+2006-01-06  Tom Tromey  <tromey@redhat.com>
+
+       * gcj.texi (Arrays): Added more documentation for
+       JvNewObjectArray.
+       (Primitive types): Correct information about primitive classes.
+       (Reference types): New node.
+       (Index): New node.
+
+2005-12-16  Alexandre Oliva  <aoliva@redhat.com>
+
+       * jcf-parse.c (set_source_filename): Set the decl source location
+       even when returning early.
+
+2005-12-15  Tom Tromey  <tromey@redhat.com>
+           Andrew Haley  <aph@redhat.com>
+
+       PR java/25429
+       * parse.y (resolve_expression_name): Don't generate accessor
+       methods for constant fields.
+
+2005-12-13  Andrew Haley  <aph@redhat.com>
+
+       PR java/25366
+       PR java/25368
+       * class.c (maybe_layout_super_class): Update current_class before
+       calling do_resolve_class.
+
+2005-12-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR java/25330
+       * jcf-write.c (write_classfile): Use PID in temporary class
+       file. Save/restore errno when reporting error.
+
+2005-12-10  Terry Laurenzo  <tlaurenzo@gmail.com>
+
+       PR java/9861
+       * mangle.c (mangle_method_decl): Mangle Java methods by prepending 'J'
+       to bare_function_type and including the return type
+       * builtins.c (initialize_builtins) : Change builtin mangled name
+       constants to conform to new mangling scheme
+
+2005-12-08  Andrew Haley  <aph@redhat.com>
+
+       PR libgcj/25265
+       * java-tree.h (enum java_tree_index): Add JTI_SOFT_NOSUCHFIELD_NODE.
+       (soft_abstractmethod_node): New.
+       * expr.c (build_field_ref): Add in-line check for missing field.
+       * decl.c (java_init_decl_processing): Add soft_nosuchfield_node.
+
+2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * Make-lang.in (java.all.build, java.install-normal): Remove.
+
+2005-12-07  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
+
+       * Make-lang.in: Remove all dependencies on s-gtype, except for
+       gt-java-parse.h.
+
+2005-12-07  Richard Sandiford  <richard@codesourcery.com>
+
+       * class.c (build_utf8_ref, emit_register_classes): Use
+       switch_to_section and get_section.
+
+2005-12-06  Tom Tromey  <tromey@redhat.com>
+
+       PR java/25283:
+       * parse.y (patch_new_array_init): Revert previous patch.
+       (lookup_method_invoke): Use size-less array type when creating an
+       anonymous constructor.
+
+2005-12-05  Tom Tromey  <tromey@redhat.com>
+
+       * parse.y (patch_new_array_init): Don't set length on array.
+
+2005-12-02  Richard Guenther  <rguenther@suse.de>
+
+       * java-gimplify.c (java_gimplify_labeled_block_expr): Use
+       buildN instead of build.
+       * class.c (finish_class): Likewise.
+       * expr.c (java_create_object): Likewise.
+
 2005-11-28  Tom Tromey  <tromey@redhat.com>
 
        PR java/18278: