OSDN Git Service

* alias.c (init_alias_analysis), calls.c (expand_call,
[pf3gnuchains/gcc-fork.git] / gcc / java / ChangeLog
index 191b209..f4eff53 100644 (file)
@@ -1,3 +1,143 @@
+2000-11-07  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * expr.c (note_instructions), jcf-io.c (find_class), jcf-parse.c
+       (init_outgoing_cpool), lex.c (java_init_lex): Use memset ()
+       instead of bzero ().
+
+2000-11-05  Tom Tromey  <tromey@cygnus.com>
+
+       * lex.h (JAVA_FLOAT_RANGE_ERROR): Typo fix.
+       * lex.c (IS_ZERO): New define.
+       (java_perform_atof): Error on floating point underflow.
+
+2000-11-04  Tom Tromey  <tromey@cygnus.com>
+
+       * lex.c (java_parse_escape_sequence): Only read two octal
+       characters if the first one is greater than 3.  Don't allow
+       "octal" numbers to include the digits 8 or 9.
+
+2000-11-05  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * Make-lang.in (java.distdir): Remove.
+
+2000-11-03  Tom Tromey  <tromey@cygnus.com>
+
+       * Make-lang.in (java.dvi): New target.
+       Partial fix for PR other/567.
+
+       * lang-options.h: Mention -Wout-of-date.
+       * jcf-dump.c (flag_newer): New global.
+       * gjavah.c (flag_newer): New global.
+       * jcf-io.c (find_class): Only warn when flag_newer set.
+       * lang.c (flag_newer): New global.
+       (struct string_option): New declaration.
+       (lang_W_options): New global.
+       (process_option_with_no): New function.
+       (lang_decode_option): Use it.
+
+       * class.c (cxx_keyword_p): Accept keywords with trailing `$'s.
+       * gjavah.c (cxx_keyword_subst): Handle any number of trailing
+       `$'.
+
+       * lex.h (_JAVA_IDENTIFIER_IGNORABLE): New macro.
+       (JAVA_ID_CHAR_P): Also try java_ignorable_control_p.
+       * lex.c (java_read_unicode): Removed `term_context' argument.
+       Recognize any number of `u' in `\u'.
+       (java_read_unicode_collapsing_terminators): New function.
+       (java_get_unicode): Use it.
+       (java_lineterminator): Removed.
+       (yylex): Produce error if character literal is newline or single
+       quote.  Return if eof found in middle of `//' comment.  EOF in
+       `//' comment is only an error if pedantic.
+       (java_ignorable_control_p): New function.
+       (java_parse_end_comment): Return if eof found in middle of
+       comment.
+       Include flags.h.
+       * jv-scan.c (pedantic): New global.
+
+2000-10-29  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+       * Make-lang.in (LIBGCJ_ZIP_FILE): Define with `$(prefix)'.
+       Fixes gcj/365.
+
+2000-10-27  Zack Weinberg  <zack@wolery.stanford.edu>
+
+       * Make-lang.in: Move all build rules here from Makefile.in,
+       adapt to new context.  Wrap all rules that change the current
+       directory in parentheses.  Expunge all references to $(P).
+       When one command depends on another and they're run all at
+       once, use && to separate them, not ;.  Add OUTPUT_OPTION to
+       all object-file generation rules.  Delete obsolete variables.
+
+       * Makefile.in: Delete.
+       * config-lang.in: Delete outputs= line.
+
+2000-10-25  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.y (patch_method_invocation): NULLify this_arg when already
+       inserted.
+       (maybe_use_access_method): Handle call to methods unrelated to the
+       current class. Fixed comment.
+       Fixes gcj/361.
+
+2000-10-24  Tom Tromey  <tromey@cygnus.com>
+
+       * lex.c (java_new_lexer): Initialize new fields.  Work around
+       broken iconv() implementations.
+       (java_read_char): Swap bytes if required.  Use fallback decoder if
+       required.
+       (byteswap_init, need_byteswap): New globals.
+       (java_destroy_lexer): Only close iconv handle if it is in use.
+       * lex.h (java_lexer): New fields read_anything, byte_swap,
+       use_fallback.
+       Made out_buffer unsigned.
+
+2000-10-24  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.y (register_incomplete_type): Include JDEP_FIELD as a case
+       where an enclosing context can be set on the jdep.
+       (do_resolve_class): Fixed identation.
+
+2000-10-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * gjavah.c (NEED_PEEK_ATTRIBUTE, NEED_SKIP_ATTRIBUTE): Define
+       
+       * jcf-reader.c (peek_attribute, skip_attribute): Only define
+       when requested.
+
+       * parse.h (yyerror): If JC1_LITE, mark with ATTRIBUTE_NORETURN.
+
+       * verify.c (CHECK_PC_IN_RANGE): Cast result of stmt-expr to void.
+
+2000-10-16  Tom Tromey  <tromey@cygnus.com>
+
+       * jvspec.c (lang_specific_driver): Recognize -MF and -MT.
+       * lang-specs.h: Added %{MA}, %{MF*}, %{MT*}.
+       * lang-options.h: Added -MA, -MT, -MF..
+       * lang.c (lang_decode_option): Recognize -MA, -MT, -MF.
+       (DEPEND_TARGET_SET): New macro.
+       (DEPEND_FILE_ALREADY_SET): Likewise.
+       (init_parse): Handle new flags.
+       * jcf.h (jcf_dependency_print_dummies): Declare.
+       * Make-lang.in (s-java): Added mkdeps.o.
+       * Makefile.in (BACKEND): Added mkdeps.o.
+       (../gcjh$(exeext)): Added mkdeps.o.
+       (../jcf-dump$(exeext)): Added mkdeps.o.
+       * jcf-depend.c: Include mkdeps.h.
+       (struct entry, dependencies, targets, MAX_OUTPUT_COLUMNS,
+       add_entry): Removed.
+       (jcf_dependency_reset): Rewrote.
+       (dependencies): New global.
+       (jcf_dependency_set_target): Rewrote.
+       (jcf_dependency_add_target): Likewise.
+       (jcf_dependency_add_file): Likewise.
+       (munge): Removed.
+       (print_ents): Removed.
+       (jcf_dependency_write): Rewrote.
+       (print_dummies): New global.
+       (jcf_dependency_print_dummies): New function
+       (jcf_dependency_write): Call deps_dummy_targets if required.
+
 2000-10-18  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 
        * gjavah.c (add_class_decl): Removed unused variables `tname',
@@ -394,6 +534,11 @@ Wed Sep 13 11:50:35 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
        compression_method fields.
        * zextract.c (read_zip_archive): Collect file compression info.
 
+2000-08-15  Bryce McKinlay  <bryce@albatross.co.nz>
+
+       * parse.y (do_resolve_class): Also explore superclasses of 
+       intermediate enclosing contexts when searching for inner classes.
+
 2000-08-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 
        * parse.y (variable_declarator_id:): Better error message.
@@ -685,6 +830,12 @@ Sun Aug  6 00:47:24 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
        (resolve_type_during_patch): Use `type' as a second
        argument to resolve_no_layout. Fixes gcj/257.
 
+2000-07-18  Bryce McKinlay  <bryce@albatross.co.nz>
+
+       * parse.y (find_most_specific_methods_list): Select the only 
+       non-abstract method even if max has been set.
+       Fixes gcj/285, gcj/298.
+
 2000-07-18  Jeff Sturm  <jeff.sturm@appnet.com>
 
        * lang-specs.h: Added %(jc1) to java compiler options.