1. 22 Sep, 2001 1 commit
    • attribs.c: New file, from c-common.c. · bb9f8221
      	* attribs.c: New file, from c-common.c.
      	(attribute_tables): Now four elements.
      	(format_attribute_table, lang_attribute_common): New variables.
      	(init_attributes): Reflect above changes.
      	(handle_mode_attribute): Delete check for wider than uintmax.
      	* c-common.c: Delete parts moved to attribs.c.
      	(enum attrs): Deleted; unused.
      	(c_format_attribute_table): New variable.
      	(c_common_lang_init): Initialize format_attribute_table with it.
      	* c-common.h (decl_attributes): Remove decl.
      	* tree.h (decl_attribute): Move it to here.
      	* Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
      	(attribs.o): New rule.
      	* ch/Make-lang.in (cc1chill): Add attribs.o.
      	* cp/Make-lang.in (CXX_C_OBJS): Add attribs.o.
      
      From-SVN: r45749
      Richard Kenner committed
  2. 18 Aug, 2001 1 commit
    • except.c (TYPE_HASH): Delete. · 1c0cc57e
      	* except.c (TYPE_HASH): Delete.
      
      	* objc/objc-act.c (HASHFUNCTION): Cast to size_t, not
      	HOST_WIDE_INT.
      
      	* tree.c (TYPE_HASH): Delete.
      
      	* tree.h (TYPE_HASH): Define.
      
      ch:
      	* tree.c (TYPE_HASH): Moved to ../tree.h.
      
      cp:
      	* decl.c: Cast argument to size_t, not HOST_WIDE_INT, in calls to
      	GNU_xref_start_scope and GNU_xref_end_scope.
      
      	* tree.c (TYPE_HASH): Moved to ../tree.h.
      
      From-SVN: r45004
      Kaveh R. Ghazi committed
  3. 12 Aug, 2001 1 commit
    • toplev.c (set_float_handler): Make static. · 94aca342
      	* toplev.c (set_float_handler): Make static.
      	* toplev.h: Don't prototype set_float_handler.
      
      	* simplify-rtx.c: Don't include setjmp.h.
      	(simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1):
      	New functions.
      	(simplify_unary_operation, simplify_binary_operation): Use them,
      	via do_float_handler.
      
      	* fold-const.c: Don't include setjmp.h.
      	(exact_real_inverse_1): New function.
      	(exact_real_inverse): Use it, via do_float_handler.
      
      	* varasm.c: Don't include setjmp.h.
      	(assemble_real_1): New function.
      	(assemble_real): Use it, via do_float_handler.
      	Call internal_error if we get a trap here.
      
      	* c-parse.in, cse.c, cselib.c, ch/lex.c, config/i386/i386.c,
      	config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h.
      
      	* java/lex.h: Don't include setjmp.h.  Don't define
      	SET_FLOAT_HANDLER or prototype set_float_handler.
      
      From-SVN: r44815
      Zack Weinberg committed
  4. 09 Aug, 2001 1 commit
  5. 07 Aug, 2001 1 commit
    • varasm.c (assemble_constructor): Take a symbol_ref and a priority instead of a bare string. · 47907859
              * varasm.c (assemble_constructor): Take a symbol_ref and a
              priority instead of a bare string.  Move priority handling
              here from cp/decl2.c.
              * output.h: Update decls.
      
              * c-decl.c (c_expand_body): Update calls to assemble_constructor
              and assemble_destructor.
              * profile.c (output_func_start_profiler): Likewise.
              * objc/objc-act.c (finish_objc): Likewise.
              (build_module_descriptor): Return the symbol not the symbol name.
      
              * ch/grant.c (chill_finish_compile): Pass a symbol_ref and priority
              to assemble_constructor.
      
              * cp/decl2.c (finish_objects): Pass a symbol_ref and priority to
              assemble_{constructor,destructor}.  Remove priority handling.
      
              * java/class.c (emit_register_classes): Pass a symbol_ref and priority
              to assemble_constructor.
      
      From-SVN: r44678
      Richard Henderson committed
  6. 19 Jul, 2001 1 commit
    • Makefile.in (toplev.o, [...]): Don't depend on dwarfout.h. · 2b85879e
      	* Makefile.in (toplev.o, dwarfout.o, final.o): Don't depend on
      	dwarfout.h.
      	* dbxout.c (dbxout_function): Rename dbxout_funciton_decl, move
      	to conditionally compiled block.
      	(dbx_debug_hooks, xcoff_debug_hooks): Update.
      	* dbxout.h (dbxout_function): Remove.
      	* debug.c (do_nothing_debug_hooks): Update.
      	* debug.h (struct gcc_debug_hooks): New hooks function_decl,
      	global_decl, deferred_inline_function.
      	* dwarf2out.c (dwarf2_debug_hooks): Update.
      	(dwarf2out_global_decl): New.
      	* dwarfout.c: Don't include dwarfout.h.
      	(dwarfout_global_decl, dwarfout_function_decl,
      	dwarfout_deferred_inline_function): New.
      	(dwarf_debug_hooks): Update.
      	* dwarfout.h: Remove.
      	* final.c: Don't include dwarfout.h.
      	* sdbout.c (sdbout_global_decl): New.
      	(sdbout_debug_hooks): Update.
      	* toplev.c: Don't include dwarfout.h.
      	(check_global_declarations, rest_of_compilation): Use new debug hooks.
      	(note_deferral_of_defined_inline_function): Remove.
      	* toplev.h (note_deferral_of_defined_inline_function): Remove.
      	* ch/Makefile.in (lex.o): No dependence on dwarfout.h.
      	* ch/lex.c: Don't include dwarfout.h.
      	* cp/Make-lang.in (decl2.o): No dependence on dwarfout.h, dwarf2out.h.
      	(semantics.o, optimize.o): Depend on debug.h not dwarfout.h.
      	* cp/decl2.c: Don't include dwarfout.h and dwarf2out.h.
      	* cp/optimize.c: Include debug.h.
      	(maybe_clone_body): Use debug hook.
      	* cp/semantics.c: Include debug.h.
      	(expand_body): Use debug hook.
      	* po/POTFILES.in: Remove dwarfout.h.
      
      From-SVN: r44145
      Neil Booth committed
  7. 10 Jul, 2001 2 commits
    • regmove.c (replace_in_call_usage): Fix warnings. · 07167a18
      2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
      
      	* regmove.c (replace_in_call_usage): Fix warnings.
      	* sched-deps.c (add_dependence): Fix warnings.
      	* simplify-rtx.c (simplify_subreg): Likewise.
      	Return NULL_RTX instead of NULL.
      
      	* reg-stack.c (emit_swap_insn): Eliminate warnings.
      	(subst_asm_stack_regs): Likewise.
      
      	* combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
      	warnings.
      
      	* dwarf2out.c (output_call_frame_info): Declare i as int.
      	(build_abbrev_table): Declare n_alloc as int.
      	(dwarf2out_finish): Initialize die.
      	* except.c: Declare sjlj_funcdef_number as unsigned.
      	(connect_post_landing_pads): Declare j as unsigned.
      	(convert_to_eh_region_ranges): Initialize call_site.
      	(output_function_exception_table): Initialize tt_format_size.
      	* expr.c (move_by_pieces_1): Initialize to1.
      	(store_constructor): Initialize minelt and maxelt.
      	* flow.c (mark_regs_live_at_end): Declare i as unsigned.
      	* function.c (instantiate_decls): Avoid signed/unsigned warning.
      
      	* c-decl.c (combine_parm_decls): Unused, remove.
      	* c-tree.h: Remove prototype for combine_parm_decls.
      
      	* reload.c (push_reload): Fix warning.
      	(regno_clobbered_p): Likewise.
      	* reload1.c (replace_pseudos_in_call_usage): Likewise.
      	(reload_combine): Likewise.
      
      	* bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
      	* bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
      	warnings.
      	* bitmap.c (bitmap_operation): Change user.
      	* bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
      
      For cp/:
      2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
      
      	* call.c (build_op_delete_call): Initialize fn.
      	(convert_like_real): Delete conditional.
      	(joust): Initialize *w and *l.
      	* class.c: Add prototype for binfo_ctor_vtable.
      	(get_primary_binfo): Initialize result.
      	* init.c (build_java_class_ref): Initialize name.
      
      	* typeck.c (unary_complex_lvalue): Do not duplicate the
      	argument to modify, pre-, or post-increment when used as an
      	lvalue and when the argument has side-effects.
      
      For ch/:
      2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
      
      	* ch-tree.h: Remove prototype for combine_parm_decls, unused
      	function.
      
      From-SVN: r43894
      Jan van Male committed
    • regmove.c (replace_in_call_usage): Fix warnings. · ae0ed63a
      2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
      	* regmove.c (replace_in_call_usage): Fix warnings.
      	* sched-deps.c (add_dependence): Fix warnings.
      	* simplify-rtx.c (simplify_subreg): Likewise.
      	Return NULL_RTX instead of NULL.
      
      	* reg-stack.c (emit_swap_insn): Eliminate warnings.
      	(subst_asm_stack_regs): Likewise.
      
      	* combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
      	warnings.
      
      	* dwarf2out.c (output_call_frame_info): Declare i as int.
      	(build_abbrev_table): Declare n_alloc as int.
      	(dwarf2out_finish): Initialize die.
      	* except.c: Declare sjlj_funcdef_number as unsigned.
      	(connect_post_landing_pads): Declare j as unsigned.
      	(convert_to_eh_region_ranges): Initialize call_site.
      	(output_function_exception_table): Initialize tt_format_size.
      	* expr.c (move_by_pieces_1): Initialize to1.
      	(store_constructor): Initialize minelt and maxelt.
      	* flow.c (mark_regs_live_at_end): Declare i as unsigned.
      	* function.c (instantiate_decls): Avoid signed/unsigned warning.
      
      	* c-decl.c (combine_parm_decls): Unused, remove.
      	* c-tree.h: Remove prototype for combine_parm_decls.
      
      	* reload.c (push_reload): Fix warning.
      	(regno_clobbered_p): Likewise.
      	* reload1.c (replace_pseudos_in_call_usage): Likewise.
      	(reload_combine): Likewise.
      
      	* bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
      	* bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
      	warnings.
      	* bitmap.c (bitmap_operation): Change user.
      	* bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
      For cp/:
      2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
      
      	* call.c (build_op_delete_call): Initialize fn.
      	(convert_like_real): Delete conditional.
      	(joust): Initialize *w and *l.
      	* class.c: Add prototype for binfo_ctor_vtable.
      	(get_primary_binfo): Initialize result.
      	* init.c (build_java_class_ref): Initialize name.
      
      	* typeck.c (unary_complex_lvalue): Do not duplicate the
      	argument to modify, pre-, or post-increment when used as an
      	lvalue and when the argument has side-effects.
      
      For ch/:
      2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
      
      	* ch-tree.h: Remove prototype for combine_parm_decls, unused
      	function.
      
      From-SVN: r43893
      Jan van Male committed
  8. 28 Jun, 2001 1 commit
    • diagnostic.c (default_print_error_function): Tweak. · 46f018e1
      	* diagnostic.c (default_print_error_function): Tweak.
      	(report_error_function): Likewise.
      	* toplev.h (default_print_error_function): Move to...
      	* diagnostic.h: ...here. Add a `diagnostic_context *' parameter.
      	* tree.h (print_error_function): Move to...
      	* diagnostic.h: ...here. Add a `diagnostic_context *' parameter.
      
      ch/
      
      	* lang.c: #include diagnostic.h
      	(chill_print_error_function): Add a dummy `diagnostic_context *'.
      	* Makefile.in (lang.o): Depend on diagnostic.h
      
      cp/
      
      	* error.c (lang_print_error_function): Add a `diagnostic_context *'
      	parameter. Tweak.
      
      f/
      
      	* Make-lang.in (f/com.o): Depend on diagnostic.h
      	* com.c: #include diagnostic.h
      	(lang_print_error_function): Take a 'diagnostic_context *'.
      
      java/
      
      	* lang.c: #include diagnostic.h
      	(lang_print_error): Add a `diagnostic_context *' parameter.
      	(java_dummy_print): Likewise.
      	* Make-lang.in (JAVA_LEX_C): Depend on diagnostic.h
      
      From-SVN: r43638
      Gabriel Dos Reis committed
  9. 10 Jun, 2001 1 commit
    • Makefile.in (c-parse.o): Depend on diagnostic.h · 2a2b2d43
      gcc/
      
      2001-06-10  Mark Mitchell <mark@codesourcery.com>
      	    Gabriel Dos Reis  <gdr@codesourcery.com>
      
      	* Makefile.in (c-parse.o): Depend on diagnostic.h
      	(dwarf2out.o): Likewise.
      
      	* dwarf2out.c: #include diagnostic.h
      
      	* toplev.h (warningcount, errorcount, sorrycount): Remove
      	declarations.
      
      	* toplev.c (warningcount, errorcount, sorrycount): Remove
      	definitions.
      
      	* diagnostic.h (struct output_buffer): Reorder fields.
      	(diagnostic_kind_count): New macro.
      	(errorcount, warningcount, sorrycount): Define as macros.
      	(diagnostic_report_warnings_p): New macro.
      	(output_state): Add diagnostic_count field.
      
      	* diagnostic.c (warningcount, errorcount, inhibit_warnings):
      	Remove tentative declaration.
      	(count_error): Use diagnostic_report_warnings_p.
      
      	* c-parse.in: #include diagnostic.h
      
      ch/
      
      2001-06-10  Gabriel Dos Reis  <gdr@codesourcery.com>
      
      	* decl.c: #include diagnostic.h
      	* actions.c: #include diagnostic.h
      	* Makefile.in (actions.o): Depend on diagnostic.h
      	(decl.o): Depend on diagnostic.h
      
      cp/
      
      2001-06-10  Mark Mitchell <mark@codesourcery.com>
      	    Gabriel Dos Reis  <gdr@codesourcery.com>
      
      	* Make-lang.in (cp/call.o): Depend on diagnostic.h
      	(cp/typeck.o): Depend on diagnostic.h
      	(cp/typeck2.o): Depend on diagnostic.h
      	(cp/repo.o): Depend on dignostic.h
      	* typeck.c: #include diagnostic.h
      	(convert_for_initialization): Remove extern declaration for
      	warningcount and errorcount.
      
      	* call.c: #include diagnostic.h
      	(convert_like_real): Remove extern declaration for warnincount and
      	errorcount.
      
      	* repo.c: #include diagnostic.h
      	* typeck2.c: #include diagnostic.h
      
      From-SVN: r43140
      Gabriel Dos Reis committed
  10. 02 Jun, 2001 1 commit
  11. 27 May, 2001 1 commit
  12. 26 May, 2001 2 commits
  13. 20 May, 2001 1 commit
    • re PR other/567 ("make dvi" fails) · 1b07e854
      ch:
      	* Make-lang.in (chill.dvi): Remove bogus dependencies.  Don't cd
      	to ch; include both $(srcdir)/ch and $(srcdir) in TEXINPUTS.
      	Don't move chill.dvi after creating it.  Fixes PR other/567 and
      	PR other/1018.
      
      f:
      	* Make-lang.in (f/g77.dvi): Include $(srcdir) in TEXINPUTS.
      
      From-SVN: r42345
      Joseph Myers committed
  14. 02 Mar, 2001 1 commit
  15. 23 Feb, 2001 1 commit
  16. 16 Feb, 2001 2 commits
    • Fix typos · fd48c9b5
      From-SVN: r39745
      DJ Delorie committed
    • Makefile.in (install-common): Don't depend on installdirs here. · e658449e
      gcc/:
      2001-01-20  Jim Meyering  <meyering@lucent.com>
      
              * Makefile.in (install-common): Don't depend on installdirs here.
              Instead, make each of the lang.install-common targets (e.g.,
              c++.install-common in cp/Make-lang.in) depend on it.
      	(install-driver): Depend on installdirs.
      
      gcc/ch:
      2001-02-15  Jim Meyering  <meyering@lucent.com>
      
              * Make-lang.in (CHILL.install-common): Depend on `installdirs'.
              (CHILL.install-info): Likewise.
      
      gcc/cp:
      2001-02-15  Jim Meyering  <meyering@lucent.com>
      
              * Make-lang.in (c++.install-common): Depend on installdirs.
              (c++.install-info): Likewise
              (c++.install-man): Likewise
      
      gcc/java:
      2001-02-15  Jim Meyering  <meyering@lucent.com>
      
              * Make-lang.in (java.install-common): Depend on `installdirs'.
              (java.install-info): Likewise.
      
      From-SVN: r39744
      Jim Meyering committed
  17. 04 Feb, 2001 1 commit
    • diagnostic.h (set_internal_error_function): Renamed. · 4322eb6c
      	* diagnostic.h (set_internal_error_function): Renamed.
      	* toplev.h (internal_error): Renamed from fatal.
      	(pfatal_with_name): Deleted.
      	(fatal_io_error): Now has printf-style arguments.
      	* diagnostic.c (pfatal_with_name): Deleted.
      	(fatal_io_error): Rework to have args in printf-style.
      	(set_internal_error_function): Renamed from set_fatal_function.
      	(internal_error): Renamed from fatal.
      	(error_recursion, fancy_abort): Call internal_error instead of fatal.
      	* dwarf2out.c (get_cfa_from_loc_descr): Likewise.
      	* emit-rtl.c (gen_realpart, gen_imagpart): Likewise.
      	* expr.c (check_max_integer_computation_mode, expand_expr): Likewise.
      	* flow.c (verify_flow_info): Likewise.
      	* config/arm/arm.c (thumb_unexpanded_epilogue): Likewise.
      	* config/mips/mips.c (save_restore_insns): Likewise.
      	* cp/init.c (build_java_class_ref): Likewise.
      	(dsp16xx_reg_class_from_letter): Likewise.
      	(limit_reload_class, double_reg_to_memory): Likewise.
      	(print_operand_address, emit_1600_code_shift): Likewise.
      	(gen_tst_reg, gen_compare_reg): Likewise.
      	* config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
      	* cp/decl.c (pushdecl): Likewise.
      	* java/check-init.c (check_init): Likewise.
      	* java/expr.c (java_lang_expand_expr): Likewise.
      	* java/jcf-parse.c (get_constant): Likewise.
      	* java/mangle.c (java_mangle_decl): Likewise.
      	* java/parse.y (make_nested_class_name, java_complete_lhs): Likewise.
      	(operator_string): Likewise.
      
      	* except.c (duplicate_eh_handlers): Call abort instead of fatal.
      	* flow.c (verify_flow_info): Likewise.
      	* ch/convert.c (convert): Likewise.
      	* ch/except.c (pop_handler, chill_check_no_handlers): Likewise.
      	* ch/expr.c (chill_expand_expr): Likewise.
      	* ch/parse.c (peek_token_, pushback_token, require): Likewise.
      	* config/arm/arm.c (thumb_load_double_from_address): Likewise.
      	* config/avr/avr.c (pttreg_to_str, unique_section): Likewise.
      	(avr_normalize_condition): Likewise.
      	* config/c4x/c4x.c (c4x_emit_libcall, c4x_valid_operands): Likewise.
      	* config/dsp16xx/dsp16xx.c (dsp16xx_reg_class_from_letter): Likewise.
      	(limit_reload_class, double_reg_to_memory): Likewise.
      	(print_operand_address, emit_1600_code_shift): Likewise.
      	(gen_tst_reg, gen_compare_reg): Likewise.
      	* config/m68hc11/m68hc11.c (m68hc11_emit_libcall): Likewise.
      	* cp/decl.c (pushdecl): Likewise.
      	* java/check-init.c (check_init): Likewise.
      	* java/class.c (build_class_ref): Likewise.
      	* java/constants.c (write_constant_pool): Likewise.
      	* java/decl.c (start_java_method): Likewise.
      	* java/expr.c (push_type, java_stack_pop, java_stack_swap): Likewise.
      	(java_stack_dup, encode_newarray_type): Likewise.
      	(build_java_array_length_access): Likewise.
      	(build_java_check_indexed_type, expand_java_pushc): Likewise.
      	(build_java_soft_divmod, build_invokeinterface): Likewise.
      	* java/java-tree.h (INNER_CLASS_P): Likewise.
      	* java/jcf-parse.c (parse_signature, get_name_constant): Likewise.
      	(give_name_to_class, get_class_constant): Likewise.
      	* java/jcf-write.c (CHECK_PUT, CHECK_OP, get_access_flags): Likewise.
      	(find_constant_index, generate_bytecode_conditional): Likewise.
      	(generate_bytecode_insns, perform_relocations): Likewise.
      	* java/lex.c (java_unget_unicode, java_lex): Likewise.
      	* java/mangle.c (mangle_type, mangle_record_type): Likewise.
      	(mangle_pointer_type, mangle_array_type, init_mangling): Likewise.
      	(finish_mangling): Likewise.
      	* java/parse.h (MARK_FINAL_PARMS): Likewise.
      	* java/parse.y (pop_current_osb, unreachable_stmt_error): Likewise.
      	(obtain_incomplete_type, java_complete_class): Likewise.
      	(java_check_regular_methods, java_complete_expand_method): Likewise.
      	(cut_identifier_in_qualified, check_deprecation): Likewise.
      	(patch_invoke, find_applicable_accessible_methods_list): Likewise.
      	(java_complete_lhs, lookup_name_in_blocks): Likewise.
      	(check_final_variable_indirect_assignment, build_unaryop): Likewise.
      	* java/typeck.c (set_local_type, parse_signature_type): Likewise.
      	(parse_signature_string, build_java_signature): Likewise;
      	(set_java_signature): Likewise.
      	* java/verify.c (type_stack_dup, CHECK_PC_IN_RANGE): Likewise.
      
      	* c-parse.in (methoddef): Call fatal_error instead of fatal.
      	* objc/objc-act.c (build_ivar_chain): Likewise.
      	* cp/except.c (decl_is_java_type): Likewise.
      	* cp/init.c (build_java_class_ref): Likewise.
      	* cp/init.c (build_new_1): Likewise.
      	* f/com.c (ffecom_init_0): Likewise.
      	* java/class.c (add_method, build_static_field_ref): Likewise.
      	* java/expr.c (build_known_method_ref, expand_invoke): Likewise.
      	* java/jcf-parse.c (get_constant, jcf_parse): Likewise.
      	* java/lex.c (java_new_new_lexer): Likewise.
      	* java/jv-scan.c (main): Likewise.
      	(fatal_error): Renamed from fatal.
      
      	* dwarfout.c (dwarfout_init): Call fatal_io_error instead of
      	pfatal_with_name.
      	* graph.c (clean_graph_dump_file): Likewise.
      	* profile.c (init_branch_prob): Likewise.
      	* ch/grant.c (write_grant_file): Likewise.
      	* ch/lex.c (init_parse, same_file, yywrap): Likewise.
      	* f/com.c (init_parse): Likewise.
      	* java/jcf-parse.c (yyparse): Likewise.
      	* objc/objc-act.c (objc_init): Likewise.
      
      	* java/jcf-parse.c (jcf_parse_source): Call fatal_io_error, not fatal.
      	(yyparse): Likewise.
      	* java/jcf-write.c (make_class_file_name, write_classfile): Likewise.
      	* java/lex.c (java_get_line_col): Likewise.
      
      	* hash.c (hash_allocate): Don't check for failure returns from
      	obstack functions that can't fail.
      	(hash_table_init_n, hash_table_init): Likewise; also now return void.
      	* hash.h (hash_table_init_n, hash_table_init): Now return void.
      	* cp/decl.c (build_typename_type): hash_table_init now returns void.
      
      	* ch/lang.c (GNU_xref_begin, GNU_xref_end): Deleted.
      	* ch/lex.c (convert_bitstring): Delete check for alloca failure.
      	* config/dsp16xx/dsp16xx.c (dsp16xx_invalid_register_for_compare):
      	Deleted.
      	* config/dsp16xx/dsp16xx.md (unnamed cmphi): Call abort instead of it.
      
      	* f/com.c (ffecom_decode_include_option_): Make errors non-fatal.
      	* f/lex.c (ffelex_cfelex_, ffelex_get_directive_line_): Likewise.
      	(ffelex_hash_): Likewise.
      	* config/arm/arm.c (arm_override_options): Likewise.
      	* config/avr/avr.c (avr_override_options): Likewise.
      	* config/c4x/c4x.c (c4x_expand_prologue): Likewise.
      	* config/dsp16xx/dsp16xx.c (function_prologue): Likewise.
      	* config/h8300/h8300.c (h8300_init_once): Likewise.
      	* config/mips/mips.c (override_options): Likewise.
      	* config/i386/i386.c (override_options): Likewise, rework.
      	* config/m68k/m68k.c (override_options): Likewise.
      	* cp/decl.c (init_decl_processing): Likewise.
      	* java/jcf-parse.c (load_class): Likewise.
      
      	* config/dsp16xx/dsp16xx.c (print_operand): Call output_operand_lossage
      	instead of fatal.
      	* config/mips/mips.c (print_operand): Likewise.
      
      	* java/lex.c (byteswap_init, need_byteswap): Only #ifdef HAVE_ICONV.
      	* objc/objc_act.c (objc_check_decl): Remove unneeded fatal call.
      	(get_object_reference): Likewise.
      
      From-SVN: r39444
      Richard Kenner committed
  18. 29 Jan, 2001 1 commit
    • stmt.c (estimate_case_costs): Use integer_minus_one_node. · f2d1f0ba
      	* stmt.c (estimate_case_costs): Use integer_minus_one_node.
      
      	* tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
      
      	* tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
      	(integer_minus_one_node): Define.
      
      ch:
      	* ch-tree.h (integer_minus_one_node): Moved to top level gcc
      	directory.
      
      	* decl.c (integer_minus_one_node): Likewise.
      	(init_decl_processing): Don't set integer_minus_one_node.
      
      cp:
      	* cp-tree.h (cp_tree_index): Delete CPTI_MINUS_ONE.
      	(minus_one_node): Moved to top level gcc directory.  Renamed
      	to integer_minus_one_node.
      
      	* init.c (init_init_processing): Don't set minus_one_node.
      	(build_vec_init): Use integer_minus_one_node.
      
      	* rtti.c (get_tinfo_decl_dynamic): Likewise.
      
      From-SVN: r39325
      Kaveh R. Ghazi committed
  19. 28 Jan, 2001 1 commit
    • configure.in: Arrange to include defaults.h in [ht]config.h/tm.h. · c913b6f1
      	* configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
      
      	* Makefile.in: Remove all dependencies on defaults.h.
      	* builtins.c: Don't include defaults.h.
      	* c-common.c: Likewise.
      	* c-decl.c: Likewise.
      	* c-pragma.c: Likewise.
      	* c-typeck.c: Likewise.
      	* combine.c: Likewise.
      	* i386.c: Likewise.
      	* frame-ia64.c: Likewise.
      	* cppexp.c: Likewise.
      	* crtstuff.c: Likewise.
      	* dbxout.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* except.c: Likewise.
      	* expr.c: Likewise.
      	* final.c: Likewise.
      	* frame-dwarf2.c: Likewise.
      	* libgcc2.c: Likewise.
      	* optabs.c: Likewise.
      	* profile.c: Likewise.
      	* sdbout.c: Likewise.
      	* toplev.c: Likewise.
      	* tradcif.y: Likewise.
      	* tree.c: Likewise.
      	* varasm.c: Likewise.
      
      ch:
      	* Makefile.in: Remove all dependencies on defaults.h.
      	* decl.c: Don't include defaults.h.
      	* timing.c: Likewise.
      
      cp:
      	* Make-lang.in: Remove all dependencies on defaults.h.
      	* call.c: Don't include defaults.h.
      	* decl.c: Likewise.
      	* decl2.c: Likewise.
      	* except.c: Likewise.
      	* pt.c: Likewise.
      	* rtti.c: Likewise.
      	* tree.c: Likewise.
      	* typeck.c: Likewise.
      
      f:
      	* Make-lang.in: Remove all dependencies on defaults.h.
      	* com.c: Don't include defaults.h.
      
      java:
      	* Make-lang.in: Remove all dependencies on defaults.h.
      	* decl.c: Don't include defaults.h.
      	* expr.c: Likewise.
      	* parse.y: Likewise.
      
      From-SVN: r39308
      Kaveh R. Ghazi committed
  20. 05 Jan, 2001 1 commit
  21. 12 Dec, 2000 1 commit
  22. 08 Dec, 2000 2 commits
    • configure.in: Don't define INSTALL_INFO. · 17db6582
      	* configure.in: Don't define INSTALL_INFO.
      	* configure: Regenerate.
      	* Makefile.in (INSTALL_INFO): Remove.
      	(info): Depend on info files in source directory.
      	(cpp.info, gcc.info, c-tree.info): Build info files in source
      	directory.
      	(distclean): Don't remove info files.
      	(maintainer-clean): Remove info files from source directory.
      	(install-normal): Depend on install-info.
      	(install-info): Install info files from source directory, if they
      	exist.
      	* texinfo.tex: Update to version 2000-11-09.08 from ftp.gnu.org.
      
      ch:
      	* Make-lang.in (CHILL.info): Depend on info files in source
      	directory.
      	(ch/chill.info): Build info files in source directory.
      	(CHILL.install-info): Install info files from source directory.
      
      f:
      	* Make-lang.in (f77.info): Depend on info files in source
      	directory.
      	(f/g77.info): Build info files in source directory; don't build
      	them unless BUILD_INFO is "info".
      	(f77.install-info): Install info files from source directory.
      
      From-SVN: r38141
      Joseph Myers committed
    • safe-ctype.h: New file. · f6bbde28
      include:
      	* safe-ctype.h: New file.
      libiberty:
      	* safe-ctype.c: New file.
      	* Makefile.in (CFILES): Add safe-ctype.c.
      	(REQUIRED_OFILES): Add safe-ctype.o.
      
      	* argv.c: Define ISBLANK and use it, not isspace.
      	* basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
      	strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
      	uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
      	before calling TOLOWER(c)/TOUPPER(c).
      gcc:
      	* Makefile.in (HOST_RTL): Add safe-ctype.o.
      	(safe-ctype.o): New rule.
      	* system.h: Include safe-ctype.h, not ctype.h.  No need to
      	wrap ctype macros.
      
      	* cpphash.h: Zap IStable and related macros.  Define is_* in
      	terms of safe-ctype.h macros.
      	* cppinit.c: Delete the IStable and all related code.
      
      	* tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and
      	is_space arrays.  Delete initialize_char_syntax.  Change all
      	references to the above arrays to use macros instead.
      	* tradcpp.h: Define is_idchar, is_idstart, is_space, and
      	is_nvspace in terms of safe_ctype.h's macros.
      	* tradcif.y: is_idchar, is_idstart are macros not arrays.
      
      	* config/i370/i370.c, config/winnt/dirent.c,
      	config/winnt/fixinc-nt.c, config/winnt/ld.c:
      	Use uppercase ctype macros.  If we included ctype.h,
      	include safe-ctype.h instead.
      
      	* fixinc/fixfixes.c: Use uppercase ctype macros.  Don't test
      	ISLOWER(c) before calling TOUPPER(c).
      	* fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk.
      	* fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h.  No need to
      	wrap ctype macros.  Don't test ISUPPER(x) before calling TOLOWER(x).
      gcc/ch:
      	* lex.c: Don't bother checking whether ISUPPER(c) before
      	calling TOLOWER(c).  Don't bother checking whether isascii(c)
      	before testing ISSPACE(c); ISSPACE(c) includes '\n'.
      gcc/f:
      	* Make-lang.in: Link f/fini with safe-ctype.o.
      	* bad.c: Don't test ISUPPER(c) || ISLOWER(c) before calling TOUPPER(c).
      	* com.c: Use TOUPPER, not ffesrc_toupper.
      	* fini.c: Don't test ISALPHA(c) before calling TOUPPER(c)/TOLOWER(c).
      	* intrin.c: Don't test IN_CTYPE_DOMAIN(c).
      	* src.c: Delete ffesrc_toupper_ and ffesrc_tolower_ and their
      	initializing code; use TOUPPER and TOLOWER instead of
      	ffesrc_toupper and ffesrc_tolower.
      	* src.h: Don't declare ffesrc_toupper_ or ffesrc_tolower_.
      	Don't define ffesrc_toupper or ffesrc_tolower.
      gcc/java:
      	* jvgenmain.c: Use ISPRINT not isascii.
      
      From-SVN: r38124
      Zack Weinberg committed
  23. 07 Dec, 2000 1 commit
  24. 07 Nov, 2000 1 commit
    • alias.c [...] (init_alias_analysis, [...]): Use memset () instead of bzero (). · 961192e1
      	* alias.c (init_alias_analysis), calls.c (expand_call,
      	emit_library_call_value_1), combine.c (init_reg_last_arrays),
      	cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c
      	(init_output_buffer, set_diagnostic_context), dwarf2out.c
      	(equate_decl_number_to_die, build_abbrev_table), emit-rtl.c
      	(init_emit_once), fold-const.c (mul_double, div_and_round_double),
      	function.c (assign_parms), gcse.c (compute_can_copy,
      	alloc_gcse_mem, alloc_reg_set_mem, record_one_set,
      	compute_hash_table, compute_set_hash_table,
      	compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c
      	(global_alloc, global_conflicts), haifa-sched.c (compute_trg_info,
      	clear_units, schedule_block), integrate.c (initialize_for_inline,
      	expand_inline_function), jump.c (thread_jumps), local-alloc.c
      	(local_alloc), loop.c (combine_movables, count_loop_regs_set,
      	load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree),
      	regclass.c (init_reg_sets, init_reg_sets_1, regclass,
      	record_reg_classes, allocate_reg_info), reload.c
      	(get_secondary_mem, remove_address_replacements, find_reloads),
      	reload1.c (reload, set_initial_label_offsets, finish_spills,
      	reload_as_needed, choose_reload_regs_init,
      	reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c
      	(sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c
      	(rename_registers), stmt.c (expand_end_case), unroll.c
      	(unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset
      	() instead of bzero ().
      
      ch:
      	* actions.c (check_missing_cases), typeck.c (build_chill_slice,
      	build_chill_cast): Use memset () instead of bzero ().
      
      cp:
      	* class.c (duplicate_tag_error, build_vtbl_initializer), decl.c
      	(push_binding_level), error.c (cp_tree_printer), pt.c
      	(process_partial_specialization, tsubst_template_arg_vector),
      	search.c (lookup_member): Use memset () instead of bzero ().
      
      java:
      	* 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 ().
      
      From-SVN: r37303
      Joseph Myers committed
  25. 05 Nov, 2000 1 commit
    • Makefile.in: Remove all targets related to building distributions and diffs, or INSTALL. · 436a88a6
      	* Makefile.in: Remove all targets related to building
      	distributions and diffs, or INSTALL.
      	* INSTALL, install1.texi: Remove.
      	* configure.in: Remove mention of distdir.
      	* configure: Regenerate.
      	* objc/Make-lang.in: Remove mention of distdir.
      
      ch:
      	* Make-lang.in (CHILL.distdir): Remove.
      
      cp:
      	* Make-lang.in (c++.distdir): Remove.
      
      f:
      	* Make-lang.in: Remove f77.distdir and f/INSTALL.
      	* INSTALL, install0.texi: Remove.
      
      java:
      	* Make-lang.in (java.distdir): Remove.
      
      From-SVN: r37265
      Joseph Myers committed
  26. 03 Nov, 2000 1 commit
    • In gcc/: · f2682362
      	* fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'.
      
      In gcc/ch/:
      	* Make-lang.in: Remove 'CYGNUS LOCAL' markers.
      	* Makefile.in: Likewise.
      	* configure: Likewise.
      
      From-SVN: r37236
      Geoff Keating committed
  27. 07 Oct, 2000 1 commit
  28. 06 Oct, 2000 1 commit
  29. 26 Sep, 2000 1 commit
    • gcc.c (cpp_options): Add spec for -ftabstop=. · 5a8e2650
      	* gcc.c (cpp_options): Add spec for -ftabstop=.
      	(invoke_as): New spec that handles invoking as.
      	Update specs to handle -save-temps and -traditional.
      	* ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h:
      	Use invoke_as.
      	* cp/lang-specs.h, objc/lang-specs.h: Update to use
      	invoke_as, and handle -save-temps and -traditional (if
      	appropriate).
      
      From-SVN: r36646
      Neil Booth committed
  30. 11 Sep, 2000 1 commit
    • defaults.h: Provide default definitions for... · d8ea8f28
              * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE,
              SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE,
              LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE,
              DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED.
      
              * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c,
              profile.c, sdbout.c, tradcif.y, tree.c, ch/decl.c, ch/timing.c,
              cp/decl.c, cp/rtti.c, f/com.c, f/com.h, java/decl.c, java/expr.c:
              Include defaults.h if not already included.
              Don't define the above macros.
      
              * Makefile.in, ch/Makefile.in, cp/Makefile.in, f/Makefile.in:
              Update dependencies.
      
      From-SVN: r36307
      Zack Weinberg committed
  31. 29 Aug, 2000 1 commit
    • top level: · 63ad61ed
      	* c-common.c (declare_function_name): Use func_id_node,
      	function_id_node, and pretty_function_id_node.  Do not make
      	__func__ visible at file scope.
      	* c-common.h (c_tree_index): Add CTI_FUNCTION_ID,
      	CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID.
      	(function_id_node, pretty_function_id_node, func_id_node): New
      	macros.
      	* c-decl.c (init_decl_processing): Initialize function_id_node,
      	pretty_function_id_node, and func_id_node.
      	(c_make_fname_decl): Correct comment.
      
      	* tree.h (struct tree_identifier): Constify pointer member.
      
      	* c-decl.c (pushdecl, implicit_decl_warning): Constify a char *.
      	* c-pragma.h (struct weak_syms): Constify name and value members.
      	(add_weak): Constify arguments.
      
      	* calls.c (special_function_p): Constify a char *.
      	(expand_call): Remove variable which is initialized and then
      	never used.
      	* dependence.c (struct def_use, struct induction, struct subscript):
      	Constify 'variable' member.
      	(get_low_bound, have_induction_variable): Constify char * argument.
      	(find_induction_variable): Add braces to avoid dangling else.
      	(classify_dependence): Constify char * arrays.
      	* profile.c (output_func_start_profiler): Constify a char *.
      	* stor-layout.c (finalize_record_size): Constify a char *.
      	* tree.c (is_attribute_p): Constify a char *.
      	* varasm.c (add_weak, remove_from_pending_weak_list): Constify argument.
      
      	* varasm.c (make_function_rtl, make_decl_rtl): Rearrange code
      	for comprehensibility.  Do not call get_identifier if we did
      	not change the DECL_ASSEMBLER_NAME of the decl.  Use alloca to
      	create temporary string constants, not ggc_alloc_string.  No
      	need to copy result of ASM_FORMAT_PRIVATE_NAME.  Use const
      	char * to hold IDENTIFIER_POINTERs.
      ch:
      	* inout.c (add_enum_to_list): Use DECL_NAME directly, don't get
      	its IDENTIFIER_POINTER and immediately call get_identifier on it.
      	* lex.c (yywrap): Constify a char *.
      cp:
      	* class.c (build_secondary_vtable): Constify a char *.
      	* decl.c (init_decl_processing): Initialize function_id_node,
      	pretty_function_id_node, and func_id_node.
      	* input.c (struct input_source): Constify 'str'.
      	(feed_input): Constify first argument.
      	* mangle.c (write_identifier): Constify argument.
      	* pt.c (mangle_class_name_for_template): Constify argument.
      f:
      	* ansify.c: Use #line, not # <number>.
      java:
      	* jcf-parse.c (set_source_filename): Constify a char *.
      	* jcf-write.c (append_innerclasses_attribute,
      	make_class_file_name): Constify a char *.  Don't recycle a
      	variable for an unrelated purpose.
      	* parse.y: (build_alias_initializer_parameter_list): Constify a char *.
      	(breakdown_qualified): Do not modify IDENTIFIER_POINTER strings.
      
      From-SVN: r36055
      Zack Weinberg committed
  32. 25 Aug, 2000 1 commit
    • Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o. · 83bab8db
      	* Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
      	(c-iterate.o): Remove target.
      	* gcc/c-common.h (enum rid): Remove RID_ITERATOR.
      	* gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
      	(finish_decl): Don't handle iterators.
      	(grokdeclarator): Likewise.
      	* gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
      	* gcc/c-gperf.h: Regenerated.
      	* gcc/c-iterate.c: Removed.
      	* gcc/c-lex.c (init_lex): Don't handle iterators.
      	* gcc/c-parse.in (primary): Remove pop_iterator_stack call.
      	(compstmt_primary_start): Remove push_iterator_stack call.
      	(stmt): Don't allow iterator statements.  Replace iterator_expand
      	with expand_expr_stmt.
      	(all_iter_stmt): Remove.
      	(all_iter_stmt_simple): Likewise.
      	(all_iter_stmt_with_decl): Likewise.
      	* gcc/c-tree.h (ITERATOR_P): Remove.
      	(ITERATOR_BOUND_P): Likewise.
      	(init_iterators): Remove declaration.
      	(iterator_expand): Likewise.
      	(iterator_for_loop_start): Likewise.
      	(iterator_for_loop_end): Likewise.
      	(iterator_for_loop_record): Likewise.
      	(push_iterator_stack): Likewise.
      	(pop_iterator_stack): Likewise.
      	* gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
      	(readonly_warning): Likewise.
      	* gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
      
      	* Make-lang.in (cc1chill): Don't depend on c-iterate.o.
      
      	* gcc.dg/noncompile/930622-2.c: Adjust error message.
      
      From-SVN: r35967
      Mark Mitchell committed
  33. 21 Aug, 2000 1 commit
  34. 07 Aug, 2000 1 commit
  35. 05 Aug, 2000 1 commit
    • [multiple changes] · a36556a8
      2000-08-04  Andreas Schwab  <schwab@suse.de>
      
      	* cppmain.c (cb_def_pragma): Skip the first two tokens from the
      	token list, which are always `#' and `pragma'.
      
      2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
      
      	* tree.c (tree_expr_nonnegative_p): Move to...
      	* fold-const.c: ... here.  Also handle BIND_EXPR and RTL_EXPR.
      	(rtl_expr_nonnegative_p): New.
      	* tree.h: Add prototype for rtl_expr_nonnegative_p.
      
      	* real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
      	CONST_DOUBLE_CHAIN: Move to...
      	* rtl.h: ...here.  Use XCINT/XCEXP.
      
      	* Makefile.in: Remove toplev.o from OBJS.  Add rule to make
      	libbackend.a; add libbackend.a to STAGESTUFF.  Add BACKEND
      	variable.  Use BACKEND when linking cc1, not OBJS.  Add BACKEND
      	to VOL_FILES.
      
      	* objc/Make-lang.in (cc1obj): Link with $(BACKEND).
      
      ch:
      	* Make-lang.in (cc1chill): Depend on $(BACKEND), not stamp-objlist.
      	* Makefile.in (cc1chill): Link with $(BACKEND).  Define BACKEND,
      	eliminate C_OBJS (was commented out), OBJS, OBJDEPS.
      cp:
              * Make-lang.in (cc1plus): Depend on $(BACKEND), not stamp-objlist.
              * Makefile.in: Add C_OBJS, BACKEND; delete OBJS, OBJDEPS.
              (cc1plus): Link with $(BACKEND) and $(C_OBJS).
      f:
      	* Make-lang.in (f771): Depend on $(BACKEND), not stamp-objlist.
      	* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
      	(f771): Link with $(BACKEND).
      java:
      	* Make-lang.in (jc1, jv-scan): Depend on $(BACKEND), not stamp-objlist.
      	* Makefile.in: Add BACKEND; delete OBJS, OBJDEPS.
      	(jc1): Link with $(BACKEND).
      	(jv-scan): Depend on version.o, not all of $(OBJS) or $(BACKEND).
      
      From-SVN: r35501
      Zack Weinberg committed
  36. 31 Jul, 2000 1 commit