From: Zack Weinberg Date: Thu, 23 Dec 1999 17:54:00 +0000 (+0000) Subject: Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on hash.h. X-Git-Tag: prereleases/libstdc++-2.92~9033 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=7e28988a047a00cd9ee16f9a0d39f8d1635ff985;p=gcc.git Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on hash.h. 1999-12-23 Zack Weinberg * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on hash.h. (cse.c): Don't depend on hashtab.h. * cse.c: Don't include hashtab.h. (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes of dead functions. * ggc-simple.c: Don't include hash.h. From-SVN: r31080 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e39331d04241..f90f8b863090 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +1999-12-23 Zack Weinberg + + * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on + hash.h. (cse.c): Don't depend on hashtab.h. + + * cse.c: Don't include hashtab.h. + (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes + of dead functions. + * ggc-simple.c: Don't include hash.h. + 1999-12-22 Jason Merrill * dwarf2out.c (add_abstract_origin_attribute): Call diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 8885d192b2f3..3b2782960d1f 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1436,10 +1436,10 @@ ggc-common.o: ggc-common.c $(CONFIG_H) $(RTL_H) $(TREE_H) \ flags.h ggc.h varray.h hash.h ggc-simple.o: ggc-simple.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h \ - ggc.h varray.h hash.h + ggc.h varray.h ggc-page.o: ggc-page.c $(CONFIG_H) $(RTL_H) $(TREE_H) flags.h \ - ggc.h varray.h hash.h + ggc.h varray.h ggc-none.o: ggc-none.c $(CONFIG_H) $(RTL_H) ggc.h @@ -1543,8 +1543,7 @@ simplify-rtx.o : simplify-rtx.c $(CONFIG_H) system.h $(RTL_H) $(REGS_H) \ hard-reg-set.h flags.h real.h insn-config.h $(RECOG_H) $(EXPR_H) toplev.h \ output.h function.h cse.o : cse.c $(CONFIG_H) system.h $(RTL_H) $(REGS_H) hard-reg-set.h flags.h \ - real.h insn-config.h $(RECOG_H) $(EXPR_H) toplev.h output.h function.h \ - $(srcdir)/../include/hashtab.h ggc.h + real.h insn-config.h $(RECOG_H) $(EXPR_H) toplev.h output.h function.h ggc.h gcse.o : gcse.c $(CONFIG_H) system.h $(RTL_H) $(REGS_H) hard-reg-set.h \ flags.h real.h insn-config.h $(RECOG_H) $(EXPR_H) $(BASIC_BLOCK_H) \ function.h output.h toplev.h diff --git a/gcc/cse.c b/gcc/cse.c index c27c8fd4dc8d..741bdcbbd806 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -36,7 +36,6 @@ Boston, MA 02111-1307, USA. */ #include "expr.h" #include "toplev.h" #include "output.h" -#include "hashtab.h" #include "ggc.h" /* The basic idea of common subexpression elimination is to go @@ -697,9 +696,6 @@ static rtx cse_basic_block PROTO((rtx, rtx, struct branch_path *, int)); static void count_reg_usage PROTO((rtx, int *, rtx, int)); extern void dump_class PROTO((struct table_elt*)); static struct cse_reg_info* get_cse_reg_info PROTO((int)); -static unsigned int hash_cse_reg_info PROTO((hash_table_entry_t)); -static int cse_reg_info_equal_p PROTO((hash_table_entry_t, - hash_table_entry_t)); static void flush_hash_table PROTO((void)); diff --git a/gcc/ggc-simple.c b/gcc/ggc-simple.c index 53d6579dbac0..108d2120ba83 100644 --- a/gcc/ggc-simple.c +++ b/gcc/ggc-simple.c @@ -25,7 +25,6 @@ #include "tm_p.h" #include "flags.h" #include "varray.h" -#include "hash.h" #include "ggc.h" #ifndef offsetof