]> gcc.gnu.org Git - gcc.git/blobdiff - gcc/java/ChangeLog
Updated the NEWS
[gcc.git] / gcc / java / ChangeLog
index 85c0b05d292ab0ae450fe8e37ab322d7e7591bf4..31d62017d6bcd7b7dd0575c35644b3f1148f1ea2 100644 (file)
@@ -1,3 +1,205 @@
+2000-02-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * except.c (check_start_handlers): Re-add prototype lost in last
+       patch.
+       (maybe_start_try): Remove excess argument to `check_start_handlers'.
+
+2000-02-09  Andrew Haley  <aph@cygnus.com>
+
+       * decl.c (clear_binding_level): Remove excess initializer.
+       (maybe_poplevels): Remove unused variable.
+       (force_poplevels): Ditto.
+       (struct binding_level): Add comment.
+       
+2000-01-25  Andrew Haley  <aph@cygnus.com>
+
+        * java-except.h (struct eh_range): Add `expanded' field.
+        (maybe_start_try): Add end_pc arg.
+        (maybe_end_try): Ditto.
+       * java-tree.h (force_poplevels): new function.
+        * expr.c (expand_byte_code): Don't call maybe_start_try or
+        maybe_end_try.
+        * except.c (add_handler): Reset expanded.
+        (expand_start_java_handler): Set expanded.
+        (check_start_handlers): Don't expand a start handler that's
+        already been expanded.
+        (maybe_start_try): Add end_pc arg.  Only expand a handler which
+        ends after end_pc.
+       (expand_end_java_handler): call force_poplevels.
+       (force_poplevels): new function.
+        * decl.c (binding_level): Add start_pc of binding level.
+        (maybe_pushlevels): Call maybe_start_try when pushing binding
+        levels.
+        (maybe_poplevels): Call maybe_end_try when popping binding levels.
+        (LARGEST_PC): Define.
+        (clear_binding_level): Use LARGEST_PC.
+
+       * java-tree.h (DEBUG_JAVA_BINDING_LEVELS): new define.
+       * decl.c (DEBUG_JAVA_BINDING_LEVELS): new define.
+       (binding_depth, is_class_level, current_pc): new variables.
+        (struct binding_level): ditto.
+       (indent): new function.
+       (push_jvm_slot): add debugging info.
+       (maybe_pushlevels): ditto.
+       (maybe_poplevels): ditto.
+       (pushlevel): ditto.
+       (poplevel): ditto.
+       (start_java_method): ditto.
+       (give_name_to_locals): comment only.
+       * except.c (binding_depth, is_class_level, current_pc): 
+       new variables.
+       (expand_start_java_handler): add debugging info.
+       (expand_end_java_handler): ditto.
+       
+2000-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * gjavah.c (overloaded_jni_method_exists_p): Add prototype.
+       (print_name_for_stub_or_jni, process_file): Constify a char*.
+
+2000-02-03  Tom Tromey  <tromey@cygnus.com>
+
+       * jcf-io.c (jcf_print_utf8_replace): Handle UTF-8 input.
+
+2000-01-31  Scott Bambrough  <scottb@netwinder.org>
+
+       * gcc/java/javaop.h (WORDS_TO_DOUBLE): Allow WORDS_TO_DOUBLE to
+       assemble doubles correctly when HOST_FLOAT_WORDS_BIG_ENDIAN is
+       defined to be 1.
+
+2000-02-03  Tom Tromey  <tromey@cygnus.com>
+
+       * Make-lang.in (java.mostlyclean): Remove executables in
+       `mostlyclean'.
+
+2000-01-31  Scott Bambrough  <scottb@netwinder.org>
+
+       * gcc/java/gjavah.c (D_NAN_MASK): Alternate definition required when
+       HOST_FLOAT_WORDS_BIG_ENDIAN is defined to be 1.
+       (java_float_finite): Convert to use union Word from javaop.h.
+       (java_double_finite): Convert to use union DWord from javaop.h.
+
+2000-02-02  Tom Tromey  <tromey@cygnus.com>
+
+       * gjavah.c (options): Added `jni' entry.
+       (help): Document -jni.
+       (flag_jni): New global.
+       (process_file): Handle JNI output.  Don't print text from
+       -prepend, -add, etc, when generating stubs.  Only remove `.class'
+       suffix if it actually exists.
+       (main): Create a `.c' file when run with `--jni --stubs'.  Create
+       correct output file name with `--jni'.
+       (print_include): Mangle header name differently in JNI case.
+       (HANDLE_METHOD): In JNI mode, call print_method_info to generate
+       method list.
+       (print_method_info): Handle JNI case.  Put signature info into
+       method name.  Handle case when STREAM is NULL.
+       (print_name_for_stub_or_jni): New function.
+       (print_stub_or_jni): Renamed from `print_stub'.  Handle JNI.
+       (print_cxx_classname): Handle JNI.
+       (print_full_cxx_name): Likewise.
+       (decode_signature_piece): Likewise.
+       (overloaded_jni_method_exists_p): New function.
+       (struct method_name): Added `signature' and `sig_length' fields.
+       (HANDLE_END_FIELD): Do nothing in JNI mode.
+
+2000-02-02  Tom Tromey  <tromey@cygnus.com>
+
+       * jv-scan.c: Include version.c, <getopt.h>.
+       (LONG_OPT, OPT_HELP, OPT_VERSION): New macros.
+       (options): New array.
+       (usage): New function.
+       (version): New function.
+       (main): Use getopt_long to parse command line.
+       * jcf-dump.c: Include version.c, <getopt.h>.
+       (LONG_OPT, OPT_classpath, OPT_CLASSPATH, OPT_HELP, OPT_VERSION,
+       OPT_JAVAP): New macros.
+       (options): New array.
+       (usage): Return `void'.  Changed message.
+       (help): New function.
+       (version): New function.
+       (main): Use getopt_long_only to parse command line.
+       * gjavah.c: Include <getopt.h>.
+       (LONG_OPT, OPT_classpath, OPT_CLASSPATH, OPT_HELP, OPT_TEMP,
+       OPT_VERSION, OPT_PREPEND, OPT_FRIEND, OPT_ADD, OPT_APPEND, OPT_M,
+       OPT_MM, OPT_MG, OPT_MD, OPT_MMD): New macros.
+       (options): New array.
+       (java_no_argument): Removed.
+       (help): Updated with missing options.
+       (main): Use getopt_long_only to parse command line.
+       (usage): Changed message.
+
+2000-01-30  Anthony Green  <green@redhat.com>
+
+       * jcf-write.c (generate_bytecode_insns): Use TYPE_IS_WIDE to
+       determine how many stack slots to pop.
+
+2000-01-29  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.y (formal_parameter:): Set `$$' to NULL_TREE for better
+       error handling/recovery.
+       * java-tree.h (SYNCHRONIZED_EXPR): Fixed typo in comment.
+
+2000-01-27  Andrew Haley  <aph@cygnus.com>
+
+        * jcf-write.c (emit_goto): RESERVE 3 bytes for insn.
+        (emit_if): Ditto.
+        (emit_jsr): Ditto.
+
+2000-01-25  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * parse.h (OBSOLETE_MODIFIER_WARNING): Don't use ANSI string
+       concatenation.
+       (OBSOLETE_MODIFIER_WARNING2): New macro allowing two args.
+
+       * parse.y (register_fields): Don't pass a format specifier to
+       OBSOLETE_MODIFIER_WARNING.
+       (check_abstract_method_header): Use OBSOLETE_MODIFIER_WARNING2
+       instead of OBSOLETE_MODIFIER_WARNING, and don't pass a format
+       specifier.
+       (check_modifiers): Change function into a macro.
+       (check_class_interface_creation): Pass a literal format string.
+
+2000-01-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * buffer.h: PROTO -> PARAMS.
+       * check-init.c: Likewise.
+       * class.c: Likewise.
+       * constants.c: Likewise.
+       * convert.h: Likewise.
+       * decl.c: Likewise.
+       * except.c: Likewise.
+       * expr.c: Likewise.
+       * gjavah.c: Likewise.
+       * java-except.h: Likewise.
+       * java-tree.h: Likewise.
+       * jcf-depend.c: Likewise.
+       * jcf-dump.c: Likewise.
+       * jcf-parse.c: Likewise.
+       * jcf-path.c: Likewise.
+       * jcf-reader.c: Likewise.
+       * jcf-write.c: Likewise.
+       * jcf.h: Likewise.
+       * jv-scan.c: Likewise.
+       * jvgenmain.c: Likewise.
+       * jvspec.c: Likewise.
+       * lang.c: Likewise.
+       * lex.c: Likewise.
+       * lex.h: Likewise.
+       * parse-scan.y: Likewise.
+       * parse.h: Likewise.
+       * parse.y: Likewise.
+       * typeck.c: Likewise.
+       * verify.c: Likewise.
+       * xref.c: Likewise.
+       * xref.h: Likewise.
+       * zextract.c: Likewise.
+       * zipfile.h: Likewise.
+       
+Mon Jan 17 11:58:17 2000  Joerg Brunsmann  <joerg.brunsmann@fernuni-hagen.de>
+
+       * parse.y (format_parameter:): Use final: rule instead of modifiers:.
+       (final:): New rule.
+
 2000-01-17  Tom Tromey  <tromey@cygnus.com>
 
        * gjavah.c (print_field_info): Allow non-static final fields.
        * parse.y (build_string_concatenation): Only use
        StringBuffer(String) shortcut if String arg is constant.
 
+Wed Jan 12 20:20:11 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * jcf-write.c (generate_bytecode_insns): binop: Change the type of
+       the shift value to int. Fixed typo in comment.
+
 2000-01-11  Mumit Khan  <khan@xraylith.wisc.edu>
 
        * jcf-path.c: Delete PATH_SEPARATOR and DIR_SEPARATOR macros.
This page took 0.043232 seconds and 5 git commands to generate.