summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* * hashtab.h (hashval_t): New type.mmitchel2000-03-312-4/+13
| | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32842 138bc75d-0d04-0410-961f-82ee72b054a4
* Some cleanups/additions for hashtablescrux2000-03-142-4/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32536 138bc75d-0d04-0410-961f-82ee72b054a4
* Changes in include:samuel2000-03-102-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32465 138bc75d-0d04-0410-961f-82ee72b054a4
* * hashtab.h (struct htab): Add del_f.zack2000-03-102-3/+17
| | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32459 138bc75d-0d04-0410-961f-82ee72b054a4
* * hashtab.c: Remove debugging variables (all_searches,zack2000-03-082-58/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32437 138bc75d-0d04-0410-961f-82ee72b054a4
* * symcat.h (STRINGX) [!__STDC__ || ALMOST_STDC]: Change "?" to "s"hp2000-01-012-2/+7
| | | | | | | to stringify argument s. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31159 138bc75d-0d04-0410-961f-82ee72b054a4
* * splay-tree.h (struct splay_tree_node): Rename to ...mmitchel1999-12-052-3/+10
| | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30790 138bc75d-0d04-0410-961f-82ee72b054a4
* * ansidecl.h (ATTRIBUTE_MALLOC): New macro.ghazi1999-11-303-15/+31
| | | | | | | | | | * libiberty.h (buildargv, dupargv, concat, choose_temp_base, make_temp_file, xmalloc, xcalloc, xstrdup, xmemdup): Add ATTRIBUTE_MALLOC. (xatexit): Remove __GNUC__ check, add ATTRIBUTE_NORETURN. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30732 138bc75d-0d04-0410-961f-82ee72b054a4
* * libiberty.h: Include stdarg.h when ANSI_PROTOTYPES is defined.ghazi1999-11-292-0/+18
| | | | | | | (asprintf, vasprintf): Provide declarations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30691 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi1999-11-102-9/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30477 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>zack1999-10-232-2/+14
| | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30138 138bc75d-0d04-0410-961f-82ee72b054a4
* * hashtab.h: New file.law1999-10-152-0/+107
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30013 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi1999-10-102-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29890 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi1999-09-252-0/+8
| | | | | | | | | | | | | | | | | | | | * 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'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29662 138bc75d-0d04-0410-961f-82ee72b054a4
* * libiberty.h (basename): OpenBSD has a correct prototype.law1999-09-142-5/+7
| | | | | | | (xrealloc): Remove outdated comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29390 138bc75d-0d04-0410-961f-82ee72b054a4
* * libiberty.h (xmemdup): Add prototype for new function.law1999-09-082-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29200 138bc75d-0d04-0410-961f-82ee72b054a4
* Avoids false positives with -Wcast-qual:ghazi1999-09-012-7/+19
| | | | | | | | | | | * obstack.h (obstack_grow, obstack_grow0): Move (char*) casts in calls to `_obstack_memcpy' from here ... (_obstack_memcpy): ... to here, except in the __STDC__ case which doesn't need it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29028 138bc75d-0d04-0410-961f-82ee72b054a4
* * libiberty.h (getpwd): Prototype.ghazi1999-08-312-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28997 138bc75d-0d04-0410-961f-82ee72b054a4
* * splay-tree.h (splay_tree_insert): Return the new node.mmitchel1999-08-022-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28389 138bc75d-0d04-0410-961f-82ee72b054a4
* * ansidecl.h: Copy attribute support macros from egcs.law1999-07-262-1/+38
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28274 138bc75d-0d04-0410-961f-82ee72b054a4
* Synclaw1999-04-073-1/+49
| | | | | | | | * Add symcat file. * libiberty.h expose basename prototype on more systems git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26238 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-04-02 Mark Mitchell <mark@codesourcery.com>mmitchel1999-04-022-0/+6
| | | | | | | | | * splay-tree.h (splay_tree_compare_pointers): Declare. 1999-04-02 Mark Mitchell <mark@codesourcery.com> * splay-tree.h (splay_tree_compare_pointers): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26132 138bc75d-0d04-0410-961f-82ee72b054a4
* * alias.c (alias_set_compare): Remove.mmitchel1999-03-302-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26069 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address in copyright header.law1999-01-113-18/+21
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24617 138bc75d-0d04-0410-961f-82ee72b054a4
* * demangle.h: Don't check IN_GCC anymore.ghazi1998-12-143-4/+5
| | | | | | | * splay-tree.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24306 138bc75d-0d04-0410-961f-82ee72b054a4
* * demangle.h: (DMGL_EDG): new macro for Kuck and Associateslaw1998-12-072-3/+28
| | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24173 138bc75d-0d04-0410-961f-82ee72b054a4
* * libiberty.h: Prototype xcalloc.ghazi1998-11-132-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23641 138bc75d-0d04-0410-961f-82ee72b054a4
* Delete whitespace at EOL.law1998-11-111-13/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23603 138bc75d-0d04-0410-961f-82ee72b054a4
* * ansidecl.h: Wrap problematic macros with !IN_GCC.ghazi1998-11-084-10/+22
| | | | | | | | * demangle.h: Never define PARAMS(). * splay-tree.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23574 138bc75d-0d04-0410-961f-82ee72b054a4
* * demangle.h: Don't include gansidecl.h.ghazi1998-11-073-2/+5
| | | | | | | * splay-tree.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23561 138bc75d-0d04-0410-961f-82ee72b054a4
* * splay-tree.h: Wrap function pointer parameter declarations inghazi1998-10-222-4/+9
| | | | | | | PARAMS() macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23231 138bc75d-0d04-0410-961f-82ee72b054a4
* * splay-tree.h: New file.mmitchel1998-10-212-0/+120
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23211 138bc75d-0d04-0410-961f-82ee72b054a4
* * Merge devo and egcs include directories.law1998-10-082-2/+14
| | | | | | | | | 1998-08-03 Jason Molenda (jsm@bugshack.cygnus.com) * libiberty.h (xexit): Change decl to use modern GCC attribute to indicate exit does not return. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22942 138bc75d-0d04-0410-961f-82ee72b054a4
* * getopt.h, obstack.h: Updated from gcc.law1998-09-052-154/+177
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22260 138bc75d-0d04-0410-961f-82ee72b054a4
* * getopt.h: Updated from gcc.law1998-09-052-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22255 138bc75d-0d04-0410-961f-82ee72b054a4
* Thu Feb 12 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>law1998-05-113-15/+162
| | | | | | | | | | | | | * getopt.h: Update to latest FSF version. Fri Nov 7 10:34:09 1997 Rob Savoye <rob@darkstar.cygnus.com> * libiberty.h: Add extern "C" { so it can be used with C++ programs. Thu Aug 28 19:41:42 1997 Andrew Cagney <cagney@b1.cygnus.com> * libiberty.h (dupargv): Add prototype. Bring over from devo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19687 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionjason1997-08-2110-0/+2993
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14877 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud