]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/java/ChangeLog
tree.h (INT_CST_LT, [...]): Remove unneeded casts.
[gcc.git] / gcc / java / ChangeLog
index 315cf0b9182bca0bc78ec62232ba9ced0e9d5ce2..1620c530ac39ee4ed211d00c8d4d0055abd157da 100644 (file)
@@ -1,3 +1,202 @@
+Mon Mar  6 18:07:07 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * decl.c (emit_init_test_initialization): Mark KEY as unused.
+       * expr.c (build_newarray): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
+       (build_anewarray): Likewise.
+       * parse.y (patch_newarray): Likewise.
+       * parse.c: Regenerated.
+
+2000-03-06  Bryce McKinlay  <bryce@albatross.co.nz>
+
+       * decl.c (init_decl_processing): Added new class fields `depth',
+       `ancestors', and `idt' to class_type_node. Use
+       _Jv_LookupInterfaceMethodIdx for soft_lookupinterfacemthod_node.
+       * class.c (make_class_data): Push initial values for new fields.
+       * java-tree.h: Updated prototype for `build_invokeinterface'.
+       * expr.c (build_invokeinterface): Changed parameters to accept
+       `method' tree. Calculate index of `method' in its declaring
+       interface. Build call to _Jv_LookupInterfaceMethodIdx.
+       (expand_invoke): Call `build_invokeinterface' with new parameters.
+       * parse.y (patch_invoke): Call `build_invokeinterface' with new
+       parameters.
+
+2000-03-06  Bryce McKinlay <bryce@albatross.co.nz>
+
+       * typeck.c (lookup_do): Search superinterfaces first
+       when looking up an interface method. From Godmar Back
+       <gback@cs.utah.edu>
+
+2000-03-02  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * java-tree.h (lookup_argument_method2): Declared.
+       (safe_layout_class): Prototype moved from parse.h.
+       * parse.h (safe_layout_class): Prototype moved to java-tree.h.
+       * parse.y (java_check_regular_methods): Local `super_class' gone.
+       Call lookup_argument_method2 instead of lookup_argument_method.
+       Perform modifier match for methods found declared in implemented
+       interfaces. Fixed indentation problem. Overriding/hiding error
+       report to take place only for methods found in classes.
+       * typeck.c (lookup_argument_method): Changed leading
+       comment. Re-written by calling lookup_do.
+       (lookup_argument_method2): New function.
+       (lookup_java_method): Re-written by calling lookup_do.
+       (lookup_do): New function.
+
+2000-03-06  Tom Tromey  <tromey@cygnus.com>
+
+       * Make-lang.in (JAVA_SRCS): Added boehm.c, lex.c.
+
+2000-02-17  Tom Tromey  <tromey@cygnus.com>
+
+       * Makefile.in (JAVA_OBJS): Added boehm.o.
+       (boehm.o): New target.
+       * Make-lang.in (JAVA_SRCS): Added boehm.c.
+       * java-tree.h (flag_use_boehm_gc): Declare.
+       (get_boehm_type_descriptor): Declare.
+       * lang.c (lang_f_options): Added `use-boehm-gc'.
+       (flag_use_boehm_gc): New global.
+       * lang-options.h: Added -fuse-boehm-gc.
+       * boehm.c: New file.
+       * class.c (get_dispatch_table): If class uses a Boehm type
+       descriptor, put it in the vtable.
+       (make_class_data): Removed dead code.
+
+2000-03-03  Per Bothner  <per@bothner.com>
+
+       * decl.c (init_decl_processing):  Initialize sizetype properly.
+
+2000-03-01  Martin von Loewis  <loewis@informatik.hu-berlin.de>
+
+       * decl.c (current_function_decl): Move to toplev.c.
+
+Mon Feb 28 08:20:42 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * java-tree.h (LABEL_PC): Relect name changes in ../tree.h.
+       (DECL_BIT_INDEX): Use underlying representation.
+       * parse.h (DECL_INHERITED_SOURCE_LINE): Likewise.
+
+Sun Feb 27 16:40:33 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * expr.c (build_java_ret): Pass proper type to size_binop.
+
+2000-02-25  Anthony Green  <green@cygnus.com>
+
+       * expr.c (build_class_init): Mark the decl to be ignored by
+       check_init.
+       * java-tree.h (DECL_BIT_INDEX): Move definition from check-init.c
+       * check-init.c: Move DECL_BIT_INDEX to java-tree.h
+       * class.c (init_test_hash_newfunc): New function.
+       (decl_hash): New function.
+       (decl_compare): New function.
+       * decl.c (emit_init_test_initialization): New function.
+       (complete_start_java_method): Traverse the init test hashtable,
+       calling emit_init_test_initialization.
+       (always_initialize_class_p): Define.
+       * expr.c (build_class_init): Use initialization tests when
+       emitting class initialization code.
+       (always_initialize_class_p): Declare.
+       * jcf-parse.c (parse_class_file): Set always_initialize_class_p to
+       1.
+       * java-tree.h: Include hash.h.
+       (DECL_FUNCTION_INIT_TEST_TABLE): Define.
+       (struct lang_decl): Add init_test_table field.
+       (init_test_hash_entry): Define.
+
+Fri Feb 25 18:41:31 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * gjavah.c (main): Avoid using `argi' to report unimplemented
+       options.
+
+Fri Feb 25 18:47:25 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * jcf-write.c (generate_bytecode_insns): TRY_FINALLY_EXPR:
+       initialize locals to avoid warnings. Local `exception_type' moved
+       into if statement.
+
+Fri Feb 25 18:00:37 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.y (resolve_expression_name): Use `orig' as a second
+       argument to resolve_field_access.
+       (resolve_field_access): Removed unecessary code when dealing with
+       static fields.
+
+2000-02-23  Tom Tromey  <tromey@cygnus.com>
+
+       * gjavah.c (print_name): In JNI case, correctly quote string.
+       (print_method_info): Don't handle overrides in JNI mode.
+
+2000-02-22  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.y (init_decl_processing): `_Jv_IsInstanceOf' returned
+       value type set to `boolean_type_node'.
+
+Mon Jan 18 14:30:09 2000  Joerg Brunsmann  <joerg.brunsmann@fernuni-hagen.de>
+
+       * jcf-dump.c (main): Test for correct condition after
+       output file creation.
+
+2000-02-19  Anthony Green  <green@cygnus.com>
+
+       * jcf-depend.c (add_entry): Fix test for first list entry.
+
+Sat Feb 19 18:43:13 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * class.c (build_class_ref, push_super_field): Set DECL_SIZE_UNIT.
+       * constants.c (build_constants_constructor): Likewise.
+
+2000-02-19  Anthony Green  <green@cygnus.com>
+
+       * jcf-depend.c (add_entry): Add entries to the end of the list.
+
+Wed Nov 03 02:16:00 PST 1999  Pekka Nikander  <pekka.nikander@hut.fi>
+
+       * decl.c (INT_TYPE_SIZE): Define if necessary.
+       (expand_java_return): Handle the case of a native integer smaller
+       than a JVM integer.
+
+2000-02-18  Martin von Loewis  <loewis@informatik.hu-berlin.de>
+
+       * gjavah.c (help): Use GCCBUGURL.
+       * jv-scan.c (help): Likewise.
+       * jcf-dump.c (help): Likewise.
+
+Thu Feb 17 14:30:37 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * jcf-write.c (generate_bytecode_insns): Don't generate empty
+       `finally' clauses.
+
+Thu Feb 17 13:20:58 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * jcf-parse.c (load_class): Call `fatal' if no file containing
+       the target class are found.
+
+2000-02-16  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * Makefile.in (PARSE_C, PARSE_SCAN_C): Move dependencies on
+       lex.c, lex.h, and PARSE_H to...                            
+       (parse.o, parse-scan.o): ...here, respectively.
+
+       * lex.c: Split out code that may trigger SIGFPE from yylex()
+       to its own function.
+       * lex.h (JAVA_FLOAT_RANGE_ERROR): Don't set value.
+
+2000-02-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * Make-lang.in (jvspec.o): Depend on $(GCC_H), not gcc.h.
+
+2000-02-15  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * lex.c (java_parse_doc_section): Alway unget the last unicode
+       when returning 0.
+       (java_lex): Call java_parse_end_comment with fetched unicode.
+
+2000-02-15  Tom Tromey  <tromey@cygnus.com>
+
+       * gjavah.c (jni_print_char): New function.
+       (print_full_cxx_name): Use it.
+       (decode_signature_piece): Likewise.
+       (print_cxx_classname): Likewise.
+
 2000-02-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * Makefile.in (jv-scan, jcf-dump, gcjh): Depend on and link with
        * xref.h: Likewise.
        * zextract.c: Likewise.
        * zipfile.h: Likewise.
-       
+
+Mon Jan 18 14:30:09 2000  Joerg Brunsmann  <joerg.brunsmann@fernuni-hagen.de>
+
+       * gjavah.c: Delete ACC_VISIBILITY define.
+       * jcf.h: Add ACC_VISIBILITY define.
+       * parse.y: final: rule tagged <value>.
+       (java_check_regular_methods): Use ACC_VISIBILITY define for
+       default package access check.
+       (local_variable_declaration_statement): Use final: rule.
+
 Mon Jan 17 11:58:17 2000  Joerg Brunsmann  <joerg.brunsmann@fernuni-hagen.de>
 
        * parse.y (format_parameter:): Use final: rule instead of modifiers:.
@@ -746,6 +954,10 @@ Thu Sep  9 17:33:28 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        * class.c (finish_class): We're now outside a valid method
        declaration. Tell the rest of gcc so.
 
+1999-09-08  Bruce Korb  autogen@linuxbox.com
+
+       * Makefile.in: Give the gperf user a hint about why "gperf -F" fails.
+
 1999-09-07  Tom Tromey  <tromey@cygnus.com>
 
        * gjavah.c (add_class_decl): Generate include for gcj/array.h, not
This page took 0.043434 seconds and 5 git commands to generate.