1. 04 May, 2001 1 commit
  2. 02 Mar, 2001 1 commit
    • xm-lynx.h, [...]: Do not define TRUE or FALSE. · d6edb99e
      	* config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
      	config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
      	config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
      	config/clipper/xm-clix.h, config/convex/xm-convex.h,
      	config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
      	config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
      	config/h8300/xm-h8300.h, config/i370/xm-i370.h,
      	config/i370/xm-linux.h, config/i370/xm-mvs.h,
      	config/i370/xm-oe.h, config/i386/xm-aix.h,
      	config/i386/xm-i386.h, config/i386/xm-osf.h,
      	config/i860/xm-i860.h, config/i960/xm-i960.h,
      	config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
      	config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
      	config/mcore/xm-mcore.h, config/mips/xm-mips.h,
      	config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
      	config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
      	config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
      	config/pa/xm-pahpux.h, config/pa/xm-papro.h,
      	config/pj/xm-pj.h, config/romp/xm-romp.h,
      	config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
      	config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
      	config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
      	config/v850/xm-v850.h, config/vax/xm-vax.h,
      	config/vax/xm-vms.h, config/we32k/xm-we32k.h:
      	Do not define TRUE or FALSE.
      
      	* config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
      	empty by above change.
      	* config.gcc: Remove references to these files.
      
      	* configure.in: Detect stdbool.h.
      	* configure, config.in: Regenerate.
      	* system.h: Include stddef.h here if available.  Set
      	HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.  Then
      	set up a sensible boolean type at the very end.
      
      	* combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
      	f/com.c, config/mcore/mcore.c:
      	Rename variables named 'true' and/or 'false'.
      
      	* hash.h: Delete 'boolean' typedef and related #undefs.
      	* f/proj.h: Delete 'bool' type.  Don't include stddef.h here.
      
      	* function.c, ggc-common.c, hash.h, hash.c, tlink.c, cp/decl.c,
      	java/class.c, java/decl.c, java/java-tree.h:
      	Replace all uses of 'boolean' with 'bool'.
      
      From-SVN: r40176
      Zack Weinberg committed
  3. 04 Feb, 2001 1 commit
    • diagnostic.h (set_internal_error_function): Renamed. · 400500c4
      	* 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: r39443
      Richard Kenner committed
  4. 24 Dec, 1999 1 commit
    • Makefile.in (toplev.o): Depend on loop.h. · 272df862
      	* Makefile.in (toplev.o): Depend on loop.h.
      
      	* dwarfout.c: Include tm_p.h.
      
      	* emit-rtl.c (restore_emit_status): Mark parameter with
      	ATTRIBUTE_UNUSED.
      
      	* final.c (final_scan_insn): Likewise.
      
      	* flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
      	flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
      	flow_depth_first_order_compute, flow_loop_pre_header_find,
      	flow_loop_tree_node_add, flow_loops_tree_build,
      	flow_loop_level_compute, flow_loops_level_compute,
      	flow_loop_outside_edge_p): Add prototypes.
      	(recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
      
      	* ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
      	Mark with ATTRIBUTE_NORETURN.
      
      	* hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
      
      	* local-alloc.c (no_conflict_p): Likewise.
      
      	* loop.c (insert_bct): Hide definitions of variables with hidden
      	usage.
      	(note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
      
      	* regclass.c (memory_move_secondary_cost): Mark variable `mem'
      	with ATTRIBUTE_UNUSED.
      	(record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
      	(reg_scan): Likewise.
      
      	* reload.c (find_reloads): Remove unused variables `changed'.
      
      	* reload1.c (reload_reg_class_lower): Don't unnecessarily cast
      	away const-ness.
      	(allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
      	Remove unused variable `insn'.
      
      	* toplev.c: Include loop.h.
      	(report_file_and_line): Remove unnecessary prototype.
      
      	* tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
      
      	* unroll.c (biv_total_increment): Likewise.
      
      From-SVN: r31085
      Kaveh R. Ghazi committed
  5. 11 Jan, 1999 1 commit
  6. 06 Jan, 1999 1 commit
  7. 27 Nov, 1998 1 commit
    • system.h: Include libiberty.h. · 2778b98d
              * system.h: Include libiberty.h.
              * c-aux-info.c: Remove prototypes for concat/concat3.  Change
              function `concat' from fixed parameters to variable parameters,
              as is done in libiberty.  All callers of concat/concat3
              changed to use the new `concat' with variable args.
              * cccp.c: Remove things made redundant by libiberty.h and/or
              conform to libiberty standards.
              * cexp.y: Likewise.
              * collect2.c: Likewise.
              * config/1750a/1750a.h: Likewise.
              * cppalloc.c: Likewise.
              * cppexp.c: Likewise.
              * cppfiles.c: Likewise.
              * cpphash.c: Likewise.
              * cpplib.c: Likewise.
              * dyn-string.c: Likewise.
              * fix-header.c: Likewise.
              * gcc.c: Likewise.
              * gcov.c: Likewise.
              * genattr.c: Likewise.
              * genattrtab.c: Likewise.
              * gencheck.c: Likewise.
              * gencodes.c: Likewise.
              * genconfig.c: Likewise.
              * genemit.c: Likewise.
              * genextract.c: Likewise.
              * genflags.c: Likewise.
              * gengenrtl.c: Likewise.
              * genopinit.c: Likewise.
              * genoutput.c: Likewise.
              * genpeep.c: Likewise.
              * genrecog.c: Likewise.
              * getpwd.c: Likewise.
              * halfpic.c: Likewise.
              * hash.c: Likewise.
              * mips-tdump.c: Likewise.  Wrap malloc/realloc/calloc prototypes
              in NEED_DECLARATION_* macros.
              * mips-tfile.c: Remove things made redundant by libiberty.h and/or
              conform to libiberty standards.
              (fatal): Fix const-ification of variable `format' in
              !ANSI_PROTOTYPES case.
              * prefix.c: Remove things made redundant by libiberty.h and/or
              conform to libiberty standards.
              * print-rtl.c: Rename variable `spaces' to `xspaces' to avoid
              conflicting with function `spaces' from libiberty.
              * profile.c: Remove things made redundant by libiberty.h and/or
              conform to libiberty standards.
              * protoize.c: Likewise.
              * rtl.h: Likewise.
              * scan.h: Likewise.
              * tlink.c: Likewise.
              * toplev.c: Likewise.
              * toplev.h: Likewise.
              * tree.h: Likewise.
      
      From-SVN: r23931
      Kaveh R. Ghazi committed
  8. 20 Nov, 1998 1 commit
  9. 17 Nov, 1998 1 commit
    • hash.h (hash_table_key): New type. · a87ec9e6
      	* hash.h (hash_table_key): New type.
      	(hash_entry): Change `string' field to generic `key'.
      	(hash_table): Add `comp' and `hash' functions.
      	(hash_table_init): Take them as input.
      	(hash_table_init_n): Likewise.
      	(hash_lookup): Modify for generic keys.
      	(hash_newfunc): Likewise.
      	(hash_traverse): Likewise.
      	(string_hash): New function.
      	(string_compare): Likewise.
      	(string_copy): Likewise.
      	* hash.c (hash_table_init_n): Modify for generic keys.
      	(hash_table_init): Likewise.
      	(hash_lookup): Likewise.
      	(hash_newfunc): Likewise.
      	(hash_traverse): Likewise.
      	(string_hash): Split out from hash_lookup.
      	(string_compare): New function.
      	(string_copy): Split out from hash_lookup.
      	* tlink.c (symbol_hash_newfunc): Modify for new interfaces to hash
      	tables.
      	(symbol_hash_lookup): Likewise.
      	(file_hash_newfunc): Likewise.
      	(file_hash_lookup): Likewise.
      	(demangled_hash_newfunc): Likewise.
      	(demangled_hash_lookup): Likewise.
      	(tlink_int): Likewise.
      	(read_repo_file): Likewise.
      	(recompile_files): Likewise.
      	(demangle_new_symbols): Likewise.
      	(scan_linker_output): Likewise.
      
      From-SVN: r23683
      Mark Mitchell committed
  10. 07 Nov, 1998 1 commit
    • configure.in (host_xm_file, [...]): Arrange to include gansidecl.h in… · 0056a9b5
      configure.in (host_xm_file, [...]): Arrange to include gansidecl.h in {ht}config.h & tm.h just before the config/...
      
              * configure.in (host_xm_file, build_xm_file, xm_file, tm_file):
              Arrange to include gansidecl.h in {ht}config.h & tm.h just
              before the config/ directory headers.
              (tm_file_list, host_xm_file_list, build_xm_file_list): Handle
              gansidecl.h in the list of dependencies.
              * Makefile.in (RTL_BASE_H): Don't depend on gansidecl.h.
              (TREE_H, DEMANGLE_H, RECOG_H, REGS_H, libgcc2.a, stmp-multilib,
              mbchar.o, collect2.o, pexecute.o, vfprintf.o, splay-tree.o, gcc.o,
              gencheck.o, choose-temp.o, mkstemp.o, mkstemp.o, prefix.o,
              dyn-string.o, cexp.o, cccp.o, cppmain.o, cpplib.o, cpperror.o,
              cppexp.o, cppfiles.o, cpphash.o, cppalloc.o, scan-decls.o):
              Likewise.
              * cccp.c: Don't include gansidecl.h.
              * cexp.y: Likewise.
              * collect2.c: Likewise.
              * config/c4x/c4x.c: Likewise.
              * config/v850/v850.h: Likewise.
              * cppalloc.c: Likewise.
              * cpperror.c: Likewise.
              * cppexp.c: Likewise.
              * cppfiles.c: Likewise.
              * cpphash.c: Likewise.
              * cpplib.c: Likewise.
              * cppmain.c: Likewise.
              * cppulp.c: Likewise.
              * demangle.h: Likewise.
              * doprint.c: Likewise.
              * dyn-string.c: Likewise.
              * eh-common.h: Likewise.
              * fix-header.c: Likewise.
              * frame.c: Likewise.
              * gcc.c: Likewise.
              * gcov.c: Likewise.
              * gen-protos.c: Likewise.
              * gencheck.c: Likewise.
              * halfpic.h: Likewise.
              * hash.c: Likewise.
              * machmode.h: Likewise.
              * mbchar.c: Likewise.
              * prefix.c: Likewise.
              * protoize.c: Likewise.
              * recog.h: Likewise.
              * rtl.h: Likewise.
              * scan-decls.c: Likewise.
              * tree.h: Likewise.
              * varray.h: Likewise.
      
      From-SVN: r23558
      Kaveh R. Ghazi committed
  11. 06 May, 1998 1 commit
    • toplev.h: New file. · 10f0ad3d
      Wed May  6 06:35:38 1998  Robert Lipe  <robertl@dgii.com>
              * toplev.h: New file.   Protypes for functions in toplev.c.
              * tree.h, rtl.h: Deleted protos for functions in toplev.c.
              * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
              c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
              convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
              function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
              reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
              varasm.c: include it.
      
      From-SVN: r19564
      Robert Lipe committed
  12. 30 Mar, 1998 1 commit
    • More cutover to system.h: · b04cd507
              * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
              cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
              gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
              system.h.
              * cpphash.c: Include config.h.
              * cppalloc.c: Include system.h.  Add parameters to various
              function prototypes.
              * cpperror.c: Likewise.
              * cppexp.c: Likewise.
              * cpphash.c: Likewise.
              * cpplib.c: Likewise.
              * cppmain.c: Likewise.
              * fix-header.c: Likewise.
              * gcov.c: Likewise.
              * gen-protos.c: Likewise.
              * gengenrtl.c: Likewise.
              * halfpic.c: Likewise.
              * hash.c: Likewise.
              * scan-decls.c: Likewise.
              * scan.c: Likewise.
      
      From-SVN: r18911
      Kaveh R. Ghazi committed
  13. 10 Jan, 1998 1 commit
  14. 11 Aug, 1997 1 commit
    • * Integrate tlink patch from jason@cygnus.com · aa32d841
              * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
              (process_command): Increment n_switches for them.  Don't discard
              their args.  Validate them.
              (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
              From Rohan Lenard.
              (process_command): Set include_prefixes from COMPILER_PATH.
              (main): Set COLLECT_GCC_OPTIONS sooner.
              * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
              * tlink.c, hash.c, hash.h: New files.
              * Makefile.in (USE_COLLECT2): Always use collect2.
              (collect2): Depend on and link in hash.o and tlink.o.
              (tlink.o, hash.o): Add dependencies.
      
      tlink patches from Jason.
      
      From-SVN: r14769
      Jeffrey A Law committed