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. 13 Jan, 2000 1 commit
    • configure.in (i?86-*-beos{pe,elf,}*): Recognize. · 512b62fb
              * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
              * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
              * i386/beos-elf.h, i386/beos-pe.h: New files.
      
              * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
              * cross-make (SYSTEM_HEADER_DIR): Define using
              CROSS_SYSTEM_HEADER_DIR.
      
              * gcc.c (LIBRARY_PATH_ENV): Provide default.
              (process_command): Use it.
              (main): Likewise.  Kill trailing = from env vars.
              (build_search_list): Put it back.
              * collect2.c (main): Use LIBRARY_PATH_ENV.
      
              * configure.in (GCC_NEED_DECLARATIONS): Add environ.
              * toplev.c: Use NEED_DECLARATION_ENVIRON.
      
              * tm.texi (Frame Layout): Document SMALL_STACK.
              * c-common.c (c_common_nodes_and_builtins): Check it.
      
              * system.h: Undef alloca after including glibc's <stdlib.h>,
              if USE_C_ALLOCA is defined.
      
              * gcc.c (set_input): New fn.
              (main): After all input files are compiled, reset the input file
              info to the first.
      
              * aclocal.m4 (rindex, index): If already defined, don't attempt
              to redefine.
      
              * ginclude/varargs.h: (__va_list__): Define ifndef.
              * ginclude/stdarg.h: Likewise.
      
              * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
              instead of unsigned char.
      
              * hash.h (true, false, boolean): Undef before enum.
      
      From-SVN: r31366
      Jason Merrill committed
  5. 11 Jan, 1999 1 commit
  6. 06 Jan, 1999 1 commit
  7. 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
  8. 08 Nov, 1998 1 commit
    • gansidecl.h: Prepend a "G" to the macro wrapping this file (to distinguish it from the macro... · 5148a72b
              * gansidecl.h: Prepend a "G" to the macro wrapping this file
              (to distinguish it from the macro wrapping ansidecl.h.)
              Include libiberty's ansidecl.h.  Remove all redundant definitions.
              Define the PROTO() style macros in terms of the PARAMS() ones.
              * calls.c (emit_library_call): Switch on ANSI_PROTOTYPES, not
              __STDC__, when deciding whether to use ANSI variable args.
              (emit_library_call_value): Likewise.
              * cccp.c (error): Likewise.
              (warning): Likewise.
              (error_with_line): Likewise.
              (warning_with_line): Likewise.
              (pedwarn): Likewise.
              (pedwarn_with_line): Likewise.
              (pedwarn_with_file_and_line): Likewise.
              (fatal): Likewise.
              * cexp.y (error): Likewise.
              (pedwarn): Likewise.
              (warning): Likewise.
              * collect2.c (fatal_perror): Likewise.
              (fatal): Likewise.
              (error): Likewise.
              * combine.c (gen_rtx_combine): Likewise.
              * cpperror.c (cpp_message): Likewise.
              (cpp_fatal): Likewise.
              * cpplib.c (cpp_error): Likewise.
              (cpp_warning): Likewise.
              (cpp_pedwarn): Likewise.
              (cpp_error_with_line): Likewise.
              (cpp_warning_with_line): Likewise.
              (cpp_pedwarn_with_line): Likewise.
              (cpp_pedwarn_with_file_and_line): Likewise.
              * cpplib.h: Don't define PARAMS() macro.
              * demangle.h: Likewise.
              * doprint.c (checkit): Switch on ANSI_PROTOTYPES, not __STDC__,
              when deciding whether to use ANSI variable args.
              * emit-rtl.c (gen_rtx): Likewise.
              (gen_rtvec): Likewise.
              * final.c (asm_fprintf): Likewise.
              * fix-header.c (cpp_message): Likewise.
              (fatal): Likewise.
              (cpp_fatal): Likewise.
              * gcc.c (concat): Likewise.
              (fatal): Likewise.
              (error): Likewise.
              * genattr.c (fatal): Likewise.
              * genattrtab.c (attr_rtx): Likewise.
              (attr_printf): Likewise.
              (fatal): Likewise.
              * gencodes.c (fatal): Likewise.
              * genconfig.c (fatal): Likewise.
              * genemit.c (fatal): Likewise.
              * genextract.c (fatal): Likewise.
              * genflags.c (fatal): Likewise.
              * genopinit.c (fatal): Likewise.
              * genoutput.c (fatal): Likewise.
              (error): Likewise.
              * genpeep.c (fatal): Likewise.
              * genrecog.c (fatal): Likewise.
              * halfpic.h: Switch on ANSI_PROTOTYPES, not __STDC__, when
              deciding whether to declare `tree_node' and `rtx_def'.
              * hash.h: Don't define stuff we get from gansidecl.h.
              * mips-tfile.c: Likewise.  Define __proto() in terms of PARAMS().
              (fatal): Switch on ANSI_PROTOTYPES, not __STDC__, when deciding
              whether to use ANSI variable args.
              (error): Likewise.
              * prefix.c (concat): Likewise.
              * scan.h: Likewise.
              * system.h: Likewise.
              * toplev.c (error_with_file_and_line): Likewise.
              (error_with_decl): Likewise.
              (error_for_asm): Likewise.
              (error): Likewise.
              (fatal): Likewise.
              (warning_with_file_and_line): Likewise.
              (warning_with_decl): Likewise.
              (warning_for_asm): Likewise.
              (warning): Likewise.
              (pedwarn): Likewise.
              (pedwarn_with_decl): Likewise.
              (pedwarn_with_file_and_line): Likewise.
              (sorry): Likewise.
              (really_sorry): Likewise.
              * toplev.h: Switch on ANSI_PROTOTYPES, not __STDC__, when deciding
              whether to declare `tree_node' and `rtx_def'.
              * tree.c (build): Switch on ANSI_PROTOTYPES, not __STDC__, when
              deciding whether to use ANSI variable args.
              (build_nt): Likewise.
              (build_parse_node): Likewise.
      
      From-SVN: r23577
      Kaveh R. Ghazi committed
  9. 10 Jan, 1998 1 commit
  10. 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