OSDN Git Service

* tree.h (init_function_start): Remove filename and line paramters.
[pf3gnuchains/gcc-fork.git] / gcc / java / ChangeLog
index 4dedd5d..0fdaa9d 100644 (file)
@@ -1,3 +1,177 @@
+2003-06-14  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * class.c (emit_register_classes): Adjust init_function_start
+       call.
+       * decl.c (complete_start_java_method): Likewise.
+       * resource.c (write_resource_constructor): Likewise.
+
+2003-06-14  Neil Booth  <neil@daikokuya.co.uk>
+
+       * Make-lang.in: Update to use options.c and options.h.
+       * lang.c: Include options.h not j-options.h.
+       (java_handle_option): Abort on unrecognized option.
+       (java_init_options): Request Java switches.
+
+2003-06-11  Neil Booth  <neil@daikokuya.co.uk>
+
+       * Make-lang.in: Handle mostlyclean.
+
+2003-06-11  Tom Tromey  <tromey@redhat.com>
+
+       * lang.c (java_handle_option): Update dependency_tracking for
+       OPT_MF case.
+
+       * lang.c (java_handle_option): OPT_fbootclasspath_ can take an
+       empty argument.
+
+2003-06-10  Andrew Haley  <aph@redhat.com>
+
+       * resource.c (write_resource_constructor): Use expand_expr to
+       generate the address of the label attached to a resource.
+       * Make-lang.in (java/resource.o): Add expr.h
+
+2003-06-10  Andrew Haley  <aph@redhat.com>
+
+       * lang.c (LANG_HOOKS_DECL_OK_FOR_SIBCALL): New.
+       (java_decl_ok_for_sibcall): New.
+
+2003-06-09  Neil Booth  <neil@daikokuya.co.uk>
+
+       * Make-lang.in (JAVA_OBJS, java/lang.o): Update.
+       (java/j-options.c, java/j-options.h): New.
+       * java-tree.h (resource_name, compile_resource_file,
+       compile_resource_data): Constify.
+       * jcf-write.c (jcf_write_base_directory): Similarly.
+       * jcf.h (jcf_write_base_directory): Similarly.
+       * lang.c: Include j-options.h.
+       (cl_options_count, cl_options, string_option, java_decode_option,
+       lang_f_options, lang_W_options, LANG_HOOKS_DECODE_OPTION,
+       process_option_with_no): Remove.
+       (resource_name): Constify.
+       (LANG_HOOKS_HANDLE_OPTION): Override.
+       (java_handle_option): New.
+       (java_init): Don't call jcf_path_init.
+       (java_init_options): Call jcf_path_init.
+       * lang.opt: New.
+       * resource.c (compile_resource_data, compile_resource_file): Constify.
+
+2003-06-09  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * java-tree.h (DECL_FUNCTION_LAST_LINE): New.
+       (struct lang_decl_func): Add last_line field.
+       * parse.h (DECL_SOURCE_LINE_MERGE, DECL_SOURCE_LINE_FIRST,
+       DECL_SOURCE_LINE_LAST): Remove.
+       * parse.y (missing_return_error, finish_method_declaration,
+       lookup_cl, start_artificial_method_body, source_end_java_method,
+       start_complete_expand_method): Adjust.
+
+2003-06-08  Tom Tromey  <tromey@redhat.com>
+
+       * jvspec.c (jvgenmain_spec): Added `*' after fassume-compiled and
+       fno-assume-compiled.
+
+2003-06-08  Roger Sayle  <roger@eyesopen.com>
+
+       * builtins.c (define_builtin_type, builtin_types): Delete.
+       (define_builtin): Rewritten to take just the built-in code,
+       the function's name, type and fallback library function name.
+       All built-ins used by Java are implicit and BUILT_IN_NORMAL.
+       (initialize_builtins): Overhaul to define the GCC builtins
+       used by gcj manually, providing the Java run-time's
+       implementations as the fallback library function.
+
+2003-06-08  Anthony Green  <green@redhat.com>
+
+       * parse.y (patch_cast): Fix conversions from floating-point to
+       integral types.
+
+2003-06-08  Neil Booth  <neil@daikokuya.co.uk>
+
+       * Make-lang.in: Update.
+       * lang.c: Include opts.h. Define cl_options_count and cl_options.
+
+2003-06-07  Neil Booth  <neil@daikokuya.co.uk>
+
+       * lang.c (java_init_options): Update.
+
+Thu Jun  5 18:33:40 CEST 2003  Jan Hubicka  <jh@suse.cz>
+
+       * Make-lang.in:  Add support for stageprofile and stagefeedback
+
+2003-05-31  Roger Sayle  <roger@eyesopen.com>
+
+       * lang.c (java_init_options): Prescribe wrap-around two's
+       complement arithmetic overflow by setting flag_wrapv.
+
+2003-05-29  Roger Sayle  <roger@eyesopen.com>
+
+       * builtins.c (cos_builtin, sin_builtin, sqrt_builtin): Delete.
+       (builtin_record): Add an additional builtin_code field to
+       record which GCC built-in corresponds to the Java function.
+       (java_builtins):  Add new entries for atan, atan2, exp, log,
+       pow and tan.
+       (max_builtin, min_builtin, abs_builtin): Perform constant
+       folding on the resulting tree.
+       (java_build_function_call_expr): Likewise, perform constant
+       folding on the resulting tree.
+       (initialize_builtins): The NULL creators are now allowed in
+       the java_builtins table, which is now terminated by an entry
+       with builtin_code == END_BUILTINS.
+       (check_for_builtin): Likewise.  If the matching creator is
+       NULL, construct the call using java_build_function_call_expr
+       directly with the decl for the corresponding builtin_code.
+
+2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * win32-host.c: Normalize copyright boilerplate.
+
+2003-05-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * parse.y (print_int_node): Use string concatentation on
+       HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
+       function calls into one.
+
+2003-05-13  Zack Weinberg  <zack@codesourcery.com>
+
+       * jcf-parse.c, jcf-write.c, lex.c: Replace all calls to
+       fatal_io_error with calls to fatal_error; add ": %m" to the end of
+       all the affected error messages.
+
+2003-05-13  Richard Henderson  <rth@redhat.com>
+
+       * class.c (layout_class_method): Set DECL_EXTERNAL.
+       * decl.c (java_mark_decl_local, java_mark_class_local): New.
+       * java-tree.h (java_mark_class_local): Declare.
+       * jcf-parse.c (parse_class_file): Use it.
+       * parse.y (java_expand_classes): Likewise.
+
+2003-05-04  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * Make-lang.in (java/parse.o, java/parse-scan.o): Depend on input.h.
+       * lex.h: #include input.h.
+       * jv-scan.c (input_filename): Remove.
+
+2003-05-02  Tom Tromey  <tromey@redhat.com>
+
+       PR java/10491:
+       * gjavah.c (HANDLE_INNERCLASSES_ATTRIBUTE): New macro.
+       (handle_inner_classes): New function.
+
+2003-05-01  Tom Tromey  <tromey@redhat.com>
+
+       PR java/10459:
+       * parse.y (finish_for_loop): Do nothing if update expression is a
+       EXPR_WFL_NODE wrapping nothing.
+       (java_complete_lhs) <COMPOUND_EXPR>: Likewise.
+
+2003-05-02  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * lex.h (input_lineno): Remove declaration.
+       * parse-scan.y: #include input.h.
+       (input_filename): Remove declaration.
+       (input_location): Add definition.
+       (input_line): Remove definition.
+
 2003-05-01  Nathan Sidwell  <nathan@codesourcery.com>
 
        * lex.h (lineno): Rename to ...