PATCH: use hashval_t in tree.h
Ben Elliston
bje@au1.ibm.com
Tue May 9 07:56:00 GMT 2006
This is a follow-up to a patch that I posted a week or two ago. Dan
Berlin reminded me to update the makefile dependencies. Okay for the
trunk?
Tested with a bootstrap on i686-pc-linux-gnu.
2006-05-09 Ben Elliston <bje@au.ibm.com>
* tree.h: Include "hashtab.h".
(iterative_hash_expr): Use hashval_t in its prototype.
* Makefile.in (TREE_H): Add $(HASHTAB_H).
Index: tree.h
===================================================================
--- tree.h (revision 113642)
+++ tree.h (working copy)
@@ -22,6 +22,7 @@ Software Foundation, 51 Franklin Street,
#ifndef GCC_TREE_H
#define GCC_TREE_H
+#include "hashtab.h"
#include "machmode.h"
#include "input.h"
#include "statistics.h"
@@ -4266,7 +4267,7 @@ extern bool variably_modified_type_p (tr
extern int tree_log2 (tree);
extern int tree_floor_log2 (tree);
extern int simple_cst_equal (tree, tree);
-extern unsigned int iterative_hash_expr (tree, unsigned int);
+extern hashval_t iterative_hash_expr (tree, hashval_t);
extern int compare_tree_int (tree, unsigned HOST_WIDE_INT);
extern int type_list_equal (tree, tree);
extern int chain_member (tree, tree);
Index: Makefile.in
===================================================================
--- Makefile.in (revision 113642)
+++ Makefile.in (working copy)
@@ -747,7 +747,7 @@ RTL_H = $(RTL_BASE_H) genrtl.h
PARAMS_H = params.h params.def
BUILTINS_DEF = builtins.def sync-builtins.def omp-builtins.def
TREE_H = tree.h tree.def $(MACHMODE_H) tree-check.h $(BUILTINS_DEF) \
- input.h statistics.h vec.h treestruct.def
+ input.h statistics.h vec.h treestruct.def $(HASHTAB_H)
BASIC_BLOCK_H = basic-block.h bitmap.h sbitmap.h varray.h $(PARTITION_H) \
hard-reg-set.h cfghooks.h $(OBSTACK_H)
GCOV_IO_H = gcov-io.h gcov-iov.h auto-host.h
More information about the Gcc-patches
mailing list