1. 14 May, 2002 1 commit
  2. 08 May, 2002 3 commits
  3. 07 May, 2002 2 commits
  4. 04 May, 2002 1 commit
  5. 27 Apr, 2002 1 commit
  6. 25 Apr, 2002 2 commits
    • c-common.h (c_common_parse_file): Update. · ff45c01e
      	* c-common.h (c_common_parse_file): Update.
      	* c-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
      	* c-lex.c (YYDEBUG): Get from c-lex.h.
      	(c_common_parse_file): Update.
      	* c-lex.h (YYDEBUG, yydebug): New.
      	* c-parse.in (YYDEBUG): Get from c-lex.h.
      	(c_set_yydebug): Remove.
      	* c-tree.h (c_set_yydebug): Remove.
      	* langhooks-def.h (lhd_do_nothing_i): New.
      	(lhd_set_yydebug, LANG_HOOKS_SET_YYDEBUG): Remove.
      	(LANG_HOOKS_PARSE_FILE, LANG_HOOKS_INITIALIZER): Update.
      	* langhooks.c  (lhd_do_nothing_i): New.
      	(lhd_set_yydebug): Remove.
      	* langhooks.h (struct lang_hooks): Update.
      	* toplev.c (set_yydebug): New.
      	(compile_file): Update call to parse_file hook.
      	(decode_d_option): Update.
      ada:
      	* misc.c (gnat_parse_file): Update.
      cp:
      	* cp-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
      	* cp-tree.h (cxx_set_yydebug): Die.
      	* lex.c (YYDEBUG): Get from c-lex.h.
      	(cxx_set_yydebug): Remove.
      	* parse.y: Include c-lex.h.
      	(YYDEBUG): Get from c-lex.h.
      f:
      	* com.h (ffe_parse_file): Update.
      	* lex.c (ffe_parse_file): Update.
      java:
      	* java-tree.h (java_parse_file): Update.
      	(java_set_yydebug): Remove.
      	* jcf-parse.c (yydebug): Remove.
      	(java_set_yydebug): Die.
      	(java_parse_file): Update.
      	* lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
      objc:
      	* objc-lang.c (LANG_HOOKS_SET_YYDEBUG): Remove.
      
      From-SVN: r52753
      Neil Booth committed
    • For PR java/6425: · 9127b2da
      	* parse.y (qualify_ambiguous_name) [case CALL_EXPR]: Always choose
      	EXPR_WFL_QUALIFICATION of qual_wfl.
      
      From-SVN: r52751
      Tom Tromey committed
  7. 24 Apr, 2002 2 commits
  8. 23 Apr, 2002 1 commit
    • For PR java/6314: · 3d3707c1
      	* jvspec.c (lang_specific_driver): Use --resource, not -R.  Also
      	recognize `-fcompile-resource='.
      	* gcj.texi (Invoking gcj): Use --resource, not -R.  Expanded text
      	a bit.
      
      From-SVN: r52690
      Tom Tromey committed
  9. 22 Apr, 2002 2 commits
  10. 18 Apr, 2002 1 commit
    • c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine. · 7a228918
      	* c-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
      	* c-tree.h (c_incomplete_type_error): New.
      	* c-typeck.c (require_complete_type, build_component_ref): Update.
      	(incomplete_type_error): Rename.
      	* langhooks-def.h (lhd_incomplete_type_error): New.
      	(LANG_HOOKS_INCOMPLETE_TYPE_ERROR): New.
      	(LANG_HOOKS_FOR_TYPES_INITIALIZER): Update.
      	* langhooks.c (lhd_incomplete_type_error): New.
      	* langhooks.h (struct lang_hooks_for_types): New hook.
      	* tree.c (size_in_bytes): Use new hook.
      	* tree.h (incomplete_type_error): Remove.
      ada:	* gigi.h (incomplete_type_error): Remove.
      	* utils.c (incomplete_type_error): Remove.
      cp:
      	* call.c (build_new_method_call): Update.
      	* cp-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
      	* cp-tree.h (cxx_incomplete_type_error): New.
      	* decl.c (grokdeclarator, grokparms): Update.
      	* decl2.c (check_classfn): Update.
      	* pt.c (tsubst): Update.
      	* typeck.c (complete_type_or_else, expr_sizeof,
      	decay_conversion): Update.
      	* typeck2.c (incomplete_type_error): Rename.
      	(add_exception_specifier): Update.
      f:
      	* com.c (incomplete_type_error): Remove.
      java:
      	* typeck.c (incomplete_type_error): Remove.
      objc:
      	* objc-lang.c (LANG_HOOKS_INCOMPLETE_TYPE_ERROR): Redefine.
      
      From-SVN: r52480
      Neil Booth committed
  11. 17 Apr, 2002 3 commits
  12. 15 Apr, 2002 1 commit
  13. 12 Apr, 2002 1 commit
  14. 08 Apr, 2002 4 commits
  15. 04 Apr, 2002 1 commit
    • c-common.c (truthvalue_conversion): Rename, update. · 78ef5b89
      	* c-common.c (truthvalue_conversion): Rename, update.
      	* c-common.h (c_common_truthvalue_conversion): New.
      	* c-convert.c (convert): Update.
      	* c-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
      	* c-parse.in (expr_no_commas, if_prefix, select_or_iter_stmt): Update.
      	* c-typeck.c (build_binary_op, build_unary_op,
      	build_conditional_expr): Update.
      	* fold-const.c (constant_boolean_node, fold): Use langhook.
      	* langhooks-def.h (LANGHOOK_INITIALIZER): Update.
      	* langhooks.h (struct lang_hooks): New hook.
      	* stmt.c (expand_decl_cleanup): Use langhook.
      	* tree.h (truthvalue_conversion): Remove.
      ada:
      	* gigi.h (truthvalue_conversion): Rename.
      	* misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
      	* trans.c (tree_transform): Update.
      	* utils2.c (truthvalue_conversion): Rename, update.
      	(build_binary_op, build_unary_op): Update.
      cp:
      	* cp-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
      	* cvt.c: Update comment.
      	* init.c (expand_cleanup_for_base): Update.
      	* semantics.c (finish_parenthesized_expr): Update.
      	* typeck.c (cp_truthvalue_conversion): Update.
      f:
      	* com.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
      	(truthvalue_conversion): Rename.  Update.  Make static.
      	(ffecom_truth_value): Update.
      java:
      	* expr.c (truthvalue_conversion): Rename.  Update.
      	(expand_compare): Update.
      	* java-tree.h (java_truthvalue_conversion): New.
      	* lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
      objc:
      	* objc-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine.
      
      From-SVN: r51880
      Neil Booth committed
  16. 01 Apr, 2002 2 commits
    • c-decl.c (grokdeclarator): Update. · dffd7eb6
      	* c-decl.c (grokdeclarator): Update.
      	* c-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
      	* c-tree.h (c_mark_addressable): New.
      	* c-typeck.c (default_function_array_conversion, build_unary_op,
      	build_array_ref, convert_for_assignment): Update.
      	(mark_addressable): Rename.
      	* calls.c (try_to_integrate, expand_call): Use langhook.
      	* expr.c (expand_expr): Use langhook.
      	* langhooks-def.h (LANG_HOOKS_INITIALIZER): Update.
      	* langhooks.h (struct lang_hooks): New hook.
      	* stmt.c (expand_asm_operands): Use langhook.
      	* tree.h (mark_addressable): Remove.
      ada:
      	* decl.c (gnat_to_gnu_entity): Update.
      	* gigi.h (mark_addressable): Rename.
      	* misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
      	* trans.c (tree_transform): Update.
      	* utils.c (create_var_decl): Update.
      	* util2.c (build_binary_op, build_unary_op,
      	fill_vms_descriptor): Update.
      	(mark_addressable): Rename, update.
      cp:
      	* call.c (build_addr_func): Update.
      	* class.c (resolve_address_of_overloaded_function): Update.
      	* cp-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
      	* cp-tree.h (cxx_mark_addressable): New.
      	* decl.c (register_dtor_fn, cxx_maybe_build_cleanup): Update.
      	* decl2.c (build_cleanup): Update.
      	* except.c (build_throw): Update.
      	* init.c (resolve_offset_ref): Update.
      	* pt.c (convert_nontype_argument): Update.
      	* semantics.c (finish_asm_stmt, simplify_affr_init_exprs_r): Update.
      	* typeck.c (decay_conversion, build_array_ref, build_unary_op,
      	unary_complex_lvalue): Update.
      	(mark_addressable): Rename.
      f:
      	* com.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
      	(mark_addressable): Rename.
      	(ffecom_arrayref_, ffecom_1): Update.
      java:
      	* java-tree.h (java_mark_addressable): New.
      	* lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
      	* typeck.c (mark_addressable): Rename, update.
      objc:
      	* objc-lang.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine.
      
      From-SVN: r51705
      Neil Booth committed
    • c-common.c (unsigned_conversion_warning, [...]): Use new hooks. · ceef8ce4
      	* c-common.c (unsigned_conversion_warning, convert_and_check,
      	unsigned_type, signed_type, shorten_compare,
      	c_common_get_alias_set, c_common_nodes_and_builtins): Use new hooks.
      	(unsigned_type, signed_type, signed_or_unsigned_type): Rename.
      	* c-common.h (unsigned_type, signed_type, signed_or_unsigned_type):
      	New.
      	* c-decl.c (grokdeclarator): Update.
      	* c-format.c (check_format_types): Update.
      	* c-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
      	LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
      	* c-typeck.c (build_binary_op, convert_for_assignment): Update.
      	* convert.c (convert_to_integer): Use new hooks.
      	* expmed.c (make_tree): Use new hooks.
      	* expr.c (store_expr): Use new hooks.
      	* fold-const.c (operand_equal_for_comparison_p, build_range_check,
      	all_ones_mask_p, unextend, fold): Use new hooks.
      	* langhooks.h (struct lang_hooks_for_types): New hooks.
      	* tree.h (signed_or_unsigned_type, signed_type,
      	unsigned_type): Remove.
      ada:
      	* gigi.h (unsigned_type, signed_type, signed_or_unsigned_type):
      	Rename.
      	* misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
      	LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
      	* trans.c (tree_transform, convert_with_check): Update.
      	* utils.c (unsigned_type, signed_type, signed_or_unsigned_type):
      	Rename.
      cp:
      	* cp-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
      	LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
      	* decl.c (grokdeclarator): Update.
      	* mangle.c (write_integer_cst): Update.
      	* typeck.c (build_binary_op): Update.
      f:
      	* com.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
      	LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
      	(unsigned_type, signed_type, signed_or_unsigned_type): Rename.
      java:
      	* expr.c (build_java_binop): Update.
      	* java-tree.h (java_signed_type, java_unsigned_type,
      	java_signed_or_unsigned_type): Update.
      	* lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
      	LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
      	* parse.y (patch_binop): Update.
      	* typeck.c (signed_or_unsigned_type, unsigned_type,
      	signed_type): Update.
      objc:
      	* objc-lang.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE,
      	LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New.
      
      From-SVN: r51684
      Neil Booth committed
  17. 31 Mar, 2002 1 commit
    • diagnostic.c (print_error_function): Remove. · 7cb32822
      	* diagnostic.c (print_error_function): Remove.
      	(default_print_error_function): Rename.
      	(report_error_function): Update.
      	* diagnostic.h (print_error_function): Remove.
      	(default_print_error_function): Remove.
      	* langhooks-def.h (struct diagnostic_context): Predeclare.
      	(lhd_print_error_function, LANG_HOOKS_PRINT_ERROR_FUNCTION): New.
      	(LANG_HOOKS_INITIALIZER): Update.
      	* langhooks.h (struct diagnostic context): Predeclare.
      	(struct lang_hooks): New hook.
      cp:
      	* Make-lang.in (error.o): Update.
      	* cp-lang.c (LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine.
      	* cp-tree.h (struct diagnostic_context): Predeclare.
      	(cxx_print_error_function): New.
      	* error.c: Include langhooks-def.h.
      	(lang_print_error_function): Rename.  Update.
      	(init_error): Don't set hook.
      f:
      	* com.c (lang_print_error_function): Rename.
      	(LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine.
      	(ffe_init): Don't set hook.
      java:
      	* lang.c (LANG_HOOKS_PRINT_ERROR_FUNCTION): Redefine.
      	(java_dummy_print): Remove.
      	(lang_print_error): Rename.  Exit early if inhibiting output.
      	(inhibit_error_printing_function): New.
      	(java_init): Don't set hook.
      	(lang_init_source): Use new boolean.
      
      From-SVN: r51672
      Neil Booth committed
  18. 29 Mar, 2002 5 commits
    • parse.y (do_resolve_class): Fix infinite recursion. · 5bebbee7
      2002-03-29  Martin Kahlert  <martin.kahlert@infineon.com>
      
      	* parse.y (do_resolve_class): Fix infinite recursion.
      
      (http://gcc.gnu.org/ml/java/2002-03/msg00654.html)
      
      From-SVN: r51578
      Martin Kahlert committed
    • parse.y (check_inner_circular_reference): Ignore incomplete types. · bce54832
      2002-03-29  Tom Tromey  <tromey@redhat.com>
      
      	* parse.y (check_inner_circular_reference): Ignore incomplete
      	types.
      
      (http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01987.html)
      
      From-SVN: r51573
      Tom Tromey committed
    • Makefile.in (convert.o, [...]): Update. · b0c48229
      	* Makefile.in (convert.o, calls.o, expmed.o): Update.
      	* attribs.c (handle_mode_attribute, handle_vector_size_attribute):
      	Use new hooks.
      	* builtin-types.def (BT_PTRMODE): Update.
      	* c-common.c (type_for_size): Rename c_common_type_for_size.
      	(type_for_mode): Similarly.
      	(shorten_compare, pointer_int_sum, c_common_nodes_and_builtins):
      	Use new hook.
      	* c-bommon.h (c_common_type_for_size, c_common_type_for_mode): New.
      	* c-decl.c (finish_enum, build_enumerator): Use new hooks.
      	* c-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
      	Redefine.
      	* c-typeck.c (common_type, comptypes, default_conversion):
      	Use new hooks.
      	* calls.c: Include langhooks.h.
      	(emit_library_call_value_1): Use new hooks.  Avoid redundant
      	calls.
      	* convert.c: Include langhooks.h
      	(convert_to_pointer, convert_to_integer): Use new hooks.
      	* except.c (init_eh): Similarly.
      	* expmed.c: Include langhooks.h.
      	(expand_mult_add): Use new hooks.
      	* expr.c (store_expr, store_constructor, expand_expr, do_jump,
      	try_casesi): Similarly.
      	* fold-const.c (optimize_bit_field_compare, make_range,
      	decode_field_reference, fold_truthop, fold): Similarly.
      	* function.c (assign_stack_local_1, assign_stack_temp_for_type,
      	put_var_into_stack): Similarly.
      	* langhooks-def.h (LANG_HOOKS_TYPE_FOR_MODE,
      	LANG_HOOKS_TYPE_FOR_SIZE): New.
      	(LANG_HOOKS_TYPES_INITIALIZER): Update.
      	* langhooks.h (lang_hooks_for_types): New hooks.
      	* stmt.c (expand_decl_cleanup, emit_case_nodes): Use new hooks.
      	* tree.c (get_unwidened, get_narrower): Similarly.
      	* tree.h (type_for_mode, type_for_size): Remove.
      	* varasm.c (force_const_mem): Use new hooks.
      ada:
      	* gigi.h (type_for_size, type_for_mode): Rename.
      	* misc.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
      	Redefine.
      	* trans.c (tree_transform): Update.
      	* utils.c (gnat_init_decl_processing, init_gigi_decls,
      	builtin_function, float_type_for_size, signed_or_unsigned_type,
      	build_vms_descriptor, unchecked_convert): Update.
      	(type_for_mode, type_for_size): Rename.
      	* utils2.c (nonbinary_modular_operation): Update.
      cp:
      	* cp-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
      	Redefine.
      	* cvt.c (cp_convert_to_pointer, type_promotes_to): Use new hooks.
      	* decl.c (finish_enum): Similarly.
      	* error.c (dump_type): Similarly.
      	* lex.c (cxx_init): Similarly.
      	* mangle.c (write_builtin_type): Similarly.
      	* typeck.c (comptypes): Similarly.
      f:
      	* com.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIZE):
      	Redefine.
      	(type_for_mode, type_for_size): Rename.
      	(signed_or_unsigned_type, signed_type, truthvalue_conversion,
      	unsigned_type):	Use new hooks.
      java:
      	* Make-lang.in (builtins.o): Update.
      	* boehm.c (get_boehm_type_descriptor): Update.
      	* builtins.c: Include langhooks.h.
      	* decl.c (java_init_decl_processing): Update.
      	* java-tree.h (java_type_for_mode, java_type_for_size): New.
      	* lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
      	Redefine.
      	* typeck.c (type_for_mode, type_for_size): Update.
      objc:
      	* objc-act.c (handle_impent): Update.
      	* objc-lang.c (LANG_HOOKS_TYPE_FOR_MODE, LANG_HOOKS_TYPE_FOR_SIaZE):
      	Redefine.
      
      From-SVN: r51571
      Neil Booth committed
    • lex.c (java_new_lexer): Alias "646" to DEFAULT_ENCODING. · 5843e870
      2002-03-29  Martin Kahlert  <martin.kahlert@infineon.com>
      
      	* lex.c (java_new_lexer): Alias "646" to DEFAULT_ENCODING.
      
      From-SVN: r51566
      Martin Kahlert committed
    • re PR java/5986 (SIGSEGV in __gcj_personality_v0) · 073681c5
      	* except.c (expand_end_java_handler): If the handler type is NULL,
      	use java.lang.Throwable.  Fixes PR java/5986.
      
      From-SVN: r51539
      Tom Tromey committed
  19. 28 Mar, 2002 4 commits
  20. 27 Mar, 2002 2 commits
    • expr.c (expand_invoke): Don't generate null pointer check if we're calling <init>. · 39bea374
      	* expr.c (expand_invoke): Don't generate null pointer check if
      	we're calling <init>.
      
      From-SVN: r51487
      Tom Tromey committed
    • c-common.c (c_expand_expr): Fix prototype. · c9d892a8
      	* c-common.c (c_expand_expr): Fix prototype.
      	* c-common.h (c_expand_expr): Always declare, update.
      	* c-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
      	* c-objc-common.c (c_objc_common_init): No global hook.
      	* expr.c (expand_expr): Use langhook.
      	* expr.h (enum expand_modifier): Conditionally declare.
      	* langhooks-def.h (lhd_expand_expr, LANG_HOOKS_EXPAND_EXPR): New.
      	(LANG_HOOKS_INITIALIZER): Update.
      	* langhooks.c (lhd_expand_expr): New.
      	* langhooks.h (struct lang_hooks): New hook.
      	* toplev.c (lang_expand_expr_t, lang_expand_expr): Delete.
      	(lang_independent_init): Don't default hook.
      ada:
      	* misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
      	(gnat_init): Don't set hook.
      	(gnat_expand_expr): Fix prototype.
      cp:
      	* cp-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
      	* cp-tree.h (init_cplus_expand): Remove.
      	(cxx_expand_expr): New.
      	* expr.c (cplus_expand_expr): Rename cxx_expand_expr,
      	fix prototype.
      	(init_cplus_expand): Remove.
      	* lex.c (cxx_init): Don't call init_cplus_expand.
      java:
      	* expr.c (java_lang_expand_expr): Rename java_expand_expr,
      	fix prototype.
      	* java-tree.h (java_lang_expand_expr): Similarly.
      	* lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
      	(java_init): Don't set hook.
      objc:
      	* objc-lang.c (LANG_HOOKS_EXPAND_EXPR): Redefine.
      
      From-SVN: r51462
      Neil Booth committed