1. 06 May, 2000 1 commit
    • cpphash.h: Remove conditional #define of __extension__. · 8784fdcd
      gcc:
      	* cpphash.h: Remove conditional #define of __extension__.
      	* rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
      	RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
      	(ENABLE_RTL_CHECKING only).
      	* tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
      	CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
      	(ENABLE_TREE_CHECKING only).
      	* varray.h: Add __extension__ to VARRAY_CHECK macro
      	(ENABLE_CHECKING only).
      
      include:
      	* ansidecl.h: #define __extension__ to nothing if
      	GCC_VERSION < 2008.
      
      From-SVN: r33733
      Zack Weinberg committed
  2. 04 May, 2000 3 commits
    • demangle.h (demangler_engine): Constify. · a85a47fb
      include:
      	* demangle.h (demangler_engine): Constify.
      
      libiberty:
      	* cplus-dem.c (cplus_demangle_opname, demangle_function_name):
      	Cast the arguments to `islower' to `unsigned char'.
      	(print_demangler_list): Prototype.
      
      From-SVN: r33679
      Kaveh R. Ghazi committed
    • sort.h (sys/types.h): File included unconditionnaly. · 4aef973c
      	* sort.h (sys/types.h): File included unconditionnaly.
      	(stddef.h): File include only #ifdef __STDC__.
      
      	* sort.c (UCHAR_MAX): Provide fallback definition.
      
      From-SVN: r33670
      Philippe De Muyter committed
    • cpphash.h (U): New define, to correct type of string constants. · 12cf91fe
      gcc:
      	* cpphash.h (U): New define, to correct type of string constants.
      	(ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
      	routines, to do casts when passing unsigned strings to libc.
      	* cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
      
      	* cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
      	* cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
      	* cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
      	* cpplex.c (parse_ifdef, parse_include, validate_else): Make
      	second argument an U_CHAR *.
      
      	* cppinit.c (builtin_array): Make name and value U_CHAR *, add
      	length field, clean up initializer.
      	(ISTABLE): Add __extension__ to designated-
      	initializers version.
      	* cpplex.c (CHARTAB): Likewise.
      
      	* mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
      	case so the file won't be empty.
      
      include:
      	* symcat.h: Remove #endif label.
      
      From-SVN: r33657
      Zack Weinberg committed
  3. 28 Apr, 2000 1 commit
    • * libiberty/cplus-dem.c · 24eaa47a
              (libiberty_demanglers): new table for demangle styles
              (cplus_demangle_set_style): New function for setting style
              (cplus_demangle_name_to_style): New function to translate name
              * include/demangle.h
              (libiberty_demanglers): new table for different styles
              (cplus_demangle_set_style): New function for setting style
              (cplus_demangle_name_to_style): New function to translate name
      
      Co-Authored-By: Jason Merrill <jason@casey.cygnus.com>
      
      From-SVN: r33525
      Kenneth Block committed
  4. 24 Apr, 2000 2 commits
  5. 18 Apr, 2000 1 commit
    • conflict.c (conflict_graph_add): Pass enum type to htab_find_slot. · e38992e8
      	* gcc/conflict.c (conflict_graph_add): Pass enum type to
      	htab_find_slot.
      	* gcc/cpperror.c (hashtab.h): Now include.
      	* gcc/cppexp.c (hashtab.h): Likewise.
      	* gcc/cpplex.c (hashtab.h): Likewise.
      	* gcc/cppfiles.c (hashtab.h): Likewise.
      	(find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
      	to htab_find_slot_with_hash.
      	* gcc/cpphash.c (hashtab.h): Now include.
      	(_cpp_lookup_slot): INSERT is now enum insert_option.
      	* gcc/cpphash.h (_cpp_lookup_slot): Likewise.
      	* gcc/cppinit.c (hashtab.h): Include earlier.
      	(initialize_builtins): Pass enum to htab_find_slot.
      	* gcc/cpplib.c (hashtab.h): Now include.
      	(do_define, do_undef): Pass enum type to _cpp_lookup_slot.
      	(do_pragma_poison, do_assert): Likewise.
      	* gcc/emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
      	htab_find_slot_with_hash.
      	* gcc/simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
      	* gcc/tree.c (type_hash_add): Likewise.
      	(build1): Minor cleanup.
      	* include/hashtab.h (enum insert_option): New type.
      	(htab_find_slot, htab_find_slot_with_hash): Use it.
      	* libiberty/hashtab.c: Various minor cleanups.
      	(htab_find_slot_with_hash): INSERT is now enum insert_option.
      	(htab_find_slot): Likewise.
      
      From-SVN: r33236
      Richard Kenner committed
  6. 17 Apr, 2000 1 commit
  7. 06 Apr, 2000 1 commit
  8. 31 Mar, 2000 1 commit
    • hashtab.h (hashval_t): New type. · b13eb66b
      	* hashtab.h (hashval_t): New type.
      	(htab_find_with_hash): Use it as an argument.
      	(htab_find_slot_with_hash): Likewise.
      
      	* hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
      	codes.
      	(htab_find_with_hash): Likewise.
      	(htab_find_slot_with_hash): Likewise.
      
      From-SVN: r32842
      Mark Mitchell committed
  9. 14 Mar, 2000 1 commit
  10. 10 Mar, 2000 2 commits
    • Changes in include: · d9d4fb43
      	* partition.h: New file.
      
      Changes in libiberty:
      
      	* Makefile.in (CFILES): Add partition.c.
      	(REQUIRED_OFILES): Add partition.o.
      	(partition.o): New rule.
      	* partition.c: New file.
      
      Changes in gcc:
      
      	* Makefile.in (ssa.o): New rule.
      	(OBJS): Add ssa.o.
      	(STAGESTUFF): Add *.ssa and *.ussa.
      	(mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
      	* rtl.def (PHI): New RTL expression.
      	* rtl.h (clear_log_links): New declaration.
      	(convert_to_ssa): Likewise.
      	(convert_from_ssa): Likewise.
      	* flow.c (split_edge): If the entry node falls through to the
      	split edge's source block, split the entry edge.
      	(clear_log_links): New function.
      	* toplev.c (ssa_dump): New variable.
      	(flag_ssa): Likewise.
      	(f_options): Add "ssa".
      	(compile_file): Create SSA dump files.
      	(rest_of_compilation): Go to and from SSA if enabled.
      	(decide_d_option): Handle -de for SSA dump files.
      	* ssa.c: New file.
      
      From-SVN: r32465
      Alex Samuel committed
    • hashtab.h (struct htab): Add del_f. · 5dc9cffd
      	* hashtab.h (struct htab): Add del_f.
      	(htab_del): New type.
      	(htab_create): Add fourth argument.
      
      	* hashtab.c (htab_create): Set del_f.
      	(htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
      	Use it.
      
      From-SVN: r32459
      Zack Weinberg committed
  11. 08 Mar, 2000 1 commit
    • hashtab.c: Remove debugging variables (all_searches, all_collisions, all_expansions). · 5194cf08
      	* hashtab.c: Remove debugging variables (all_searches,
      	all_collisions, all_expansions). Delete
      	all_hash_table_collisions.
      	(create_hash_table, delete_hash_table, empty_hash_table,
      	find_hash_table_entry, remove_element_from_hash_table_entry,
      	clear_hash_table_slot, traverse_hash_table, hash_table_size,
      	hash_table_elements_number, hash_table_collisions): Rename to:
      	htab_create, htab_delete, htab_empty, htab_find_slot,
      	htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
      	htab_elements, htab_collisions.
      	(htab_find): New function, handles common case where you don't
      	plan to add or delete an entry.
      	(htab_expand): Don't create a whole new table, just a new
      	entry vector.
      	(htab_find_slot): Simplify logic.
      
      	* hashtab.h (hash_table_t): Rename to htab_t.
      	(struct hash_table): Rename to struct htab.  Shorten element
      	names.  Reorder elements by size.
      	(htab_hash, htab_eq, htab_trav): New typedefs for the callback
      	function pointers.
      	(hash_table_entry_t): Discard; just use void * for element
      	type.
      
      From-SVN: r32437
      Zack Weinberg committed
  12. 01 Jan, 2000 1 commit
  13. 05 Dec, 1999 1 commit
    • splay-tree.h (struct splay_tree_node): Rename to ... · 08230f26
      	* splay-tree.h (struct splay_tree_node): Rename to ...
      	(struct splay_tree_node_s): ... this.
      	(struct splay_tree): Rename to ...
      	(struct splay_tree_s): ... this.
      
      	* splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
      	rather than struct splay_tree_node.
      	(splay_tree_insert): Use struct splay_tree_s rather than struct
      	splay_tree.
      
      From-SVN: r30790
      Mark Mitchell committed
  14. 30 Nov, 1999 1 commit
  15. 29 Nov, 1999 1 commit
  16. 10 Nov, 1999 1 commit
    • ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'. · 6c9821b7
      include:
              * ansidecl.h: Define and test `GCC_VERSION', not `HAVE_GCC_VERSION'.
      
      gcc:
              * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
      
              * gansidecl.h: Likewise.
      
              * rtl.c: Likewise.
      
              * rtl.h: Likewise.
      
              * toplev.h: Likewise.
      
              * tree.c: Likewise.
      
              * tree.h: Likewise.
      
              * varray.c: Likewise.
      
              * varray.h: Likewise.
      
      gcc/cp:
              * cp-tree.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
      
      gcc/f:
              * proj.h: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
      
      Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
      
      From-SVN: r30477
      Philippe De Muyter committed
  17. 23 Oct, 1999 1 commit
    • hashtab.c (find_hash_table_entry): When returning a DELETED_ENTRY slot, change… · ed38f5d5
      hashtab.c (find_hash_table_entry): When returning a DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
      
      1999-10-23 08:51 -0700  Zack Weinberg  <zack@bitmover.com>
      
      	* hashtab.c (find_hash_table_entry): When returning a
      	DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
      	(clear_hash_table_slot): New function which deletes an entry
      	by its position in the table, not its value.
      	(traverse_hash_table): New function which calls a hook
      	function for every live entry in the table.
      
      	* hashtab.h: Give hash_table_t a struct tag.  Add prototypes
      	for clear_hash_table_slot and traverse_hash_table.  Correct
      	prototype of all_hash_table_collisions.
      
      From-SVN: r30138
      Zack Weinberg committed
  18. 15 Oct, 1999 1 commit
  19. 10 Oct, 1999 1 commit
    • ansidecl.h (HAVE_GCC_VERSION): New macro. · b30bce6b
      include:
      	* ansidecl.h (HAVE_GCC_VERSION): New macro.  Use instead of
      	explicitly testing __GNUC__ and __GNUC_MINOR__.
      
      	(ATTRIBUTE_PRINTF): Use `__format__', not `format'.
      
      gcc:
      	* cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
      	__GNUC__ and __GNUC_MINOR__.
      
      	* gansidecl.h: Likewise.
      
      	* rtl.c: Likewise.
      
      	* rtl.h: Likewise.
      
      	* toplev.h: Likewise.
      
      	* tree.c: Likewise.
      
      	* tree.h: Likewise.
      
      	* varray.c: Likewise.
      
      	* varray.h: Likewise.
      
      cp:
      	* cp-tree.h: Use HAVE_GCC_VERSION instead of explicitly testing
      	__GNUC__ and __GNUC_MINOR__.
      
      f:
      	* proj.h: Use HAVE_GCC_VERSION instead of explicitly testing
      	__GNUC__ and __GNUC_MINOR__.  Don't define BUILT_WITH_270.
      	Define macro UNUSED in terms of ATTRIBUTE_UNUSED.
      
      From-SVN: r29890
      Kaveh R. Ghazi committed
  20. 25 Sep, 1999 1 commit
    • libiberty.h (make_temp_file): Add a prototype. · 5a657fc3
      include:
      
              * libiberty.h (make_temp_file):  Add a prototype.
      
      libiberty:
      
              * choose-temp.c: Remove obsolete comment about gcc.
              (make_temp_file): Constify a char*.
      
      gcc:
      
              * collect2.c (make_temp_file): Don't prototype.
      
              * gcc.c (make_temp_file): Likewise.
      
              * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
      
      From-SVN: r29662
      Kaveh R. Ghazi committed
  21. 14 Sep, 1999 1 commit
  22. 08 Sep, 1999 1 commit
  23. 01 Sep, 1999 1 commit
  24. 31 Aug, 1999 1 commit
  25. 02 Aug, 1999 1 commit
  26. 26 Jul, 1999 1 commit
  27. 07 Apr, 1999 1 commit
  28. 02 Apr, 1999 1 commit
  29. 30 Mar, 1999 1 commit
    • alias.c (alias_set_compare): Remove. · 30f72379
      	* alias.c (alias_set_compare): Remove.
      	(record_alias_subset): Use splay_tree_compare_ints instaed of
      	alias_set_compare.
      	(init_alias_once): Likewise.
      	* cse.c: Include splay-tree.h.
      	(reg_qty): Remove.
      	(reg_tick): Likewise.
      	(reg_table): Likewise.
      	(cse_reg_info): New structure.
      	(cse_reg_info_free_list): New variable.
      	(cse_reg_info_tree): Likewise.
      	(cached_regno): Likewise.
      	(cached_cse_reg_info): Likewise.
      	(all_minus_one): Remove.
      	(consec_ints): Likewise.
      	(GET_CSE_REG_INFO): New macro.
      	(REG_TICK): Likewise.  Use throughout instead of reg_tick.
      	(REG_IN_TABLE): Likewise.  Use throughout instead of reg_in_table.
      	(REG_QTY): Likewise.  Use throughout instead of reg_qty.
      	(get_cse_reg_info): New function.
      	(free_cse_reg_info): Likewise.
      	(new_basic_block): Reinitialize cse_reg_info_tree instead of
      	reg_tick, all_minus_one, and consec_ints.
      	* Makefile.in (cse.o): Depend on splay-tree.h
      	* splay-tree.h (splay_tree_compare_ints): Declare.
      	* splay-tree.c (splay_tree_compare_ints): Define.
      
      From-SVN: r26069
      Mark Mitchell committed
  30. 11 Jan, 1999 1 commit
  31. 14 Dec, 1998 1 commit
  32. 07 Dec, 1998 1 commit
    • demangle.h: (DMGL_EDG): new macro for Kuck and Associates · 63684e63
              * demangle.h: (DMGL_EDG): new macro for Kuck and Associates
              (DMGL_STYLE_MASK): modify to include Kuck and Assoc style
              (demangling_styles): add new edg_demangling style
              (EDG_DEMANGLING_STYLE_STRING): new macro
              (EDG_DEMANGLING): new macro
              * demangle.h (DMGL_HP): new macro, for HP/aCC compiler.
              (DMGL_STYLE_MASK): modify to include new HP's style.
              (demangling_styles): add new hp_demangling value.
              (HP_DEMANGLING_STYLE_STRING): new macro.
              (ARM_DEMANGLING): coerce to int.
              (HP_DEMANGLING): new macro.
      
      From-SVN: r24173
      Elena Zannoni committed
  33. 13 Nov, 1998 1 commit
  34. 11 Nov, 1998 1 commit
  35. 08 Nov, 1998 1 commit
  36. 07 Nov, 1998 1 commit