From c0712acbc7117096c29ef8febd01a882779c31e0 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 5 Sep 2000 06:04:09 +0000 Subject: [PATCH] gcse.c (hash_string_1): Add prototype. * gcse.c (hash_string_1): Add prototype. * cse.c (canon_hash_string): Likewise. From-SVN: r36154 --- gcc/ChangeLog | 5 +++++ gcc/cse.c | 1 + gcc/gcse.c | 1 + 3 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 674253d092a..702fe3e3163 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-09-05 Alexandre Oliva + + * gcse.c (hash_string_1): Add prototype. + * cse.c (canon_hash_string): Likewise. + 2000-09-04 Craig Newell * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it. diff --git a/gcc/cse.c b/gcc/cse.c index 2862ac2ddee..93cfb97ecef 100644 --- a/gcc/cse.c +++ b/gcc/cse.c @@ -668,6 +668,7 @@ static void invalidate_memory PARAMS ((void)); static void invalidate_for_call PARAMS ((void)); static rtx use_related_value PARAMS ((rtx, struct table_elt *)); static unsigned canon_hash PARAMS ((rtx, enum machine_mode)); +static unsigned canon_hash_string PARAMS ((const char *)); static unsigned safe_hash PARAMS ((rtx, enum machine_mode)); static int exp_equiv_p PARAMS ((rtx, rtx, int, int)); static rtx canon_reg PARAMS ((rtx, rtx)); diff --git a/gcc/gcse.c b/gcc/gcse.c index c925a5a5d12..d32ddeb063d 100644 --- a/gcc/gcse.c +++ b/gcc/gcse.c @@ -549,6 +549,7 @@ static void insert_expr_in_table PARAMS ((rtx, enum machine_mode, rtx, static void insert_set_in_table PARAMS ((rtx, rtx)); static unsigned int hash_expr PARAMS ((rtx, enum machine_mode, int *, int)); static unsigned int hash_expr_1 PARAMS ((rtx, enum machine_mode, int *)); +static unsigned int hash_string_1 PARAMS ((const char *)); static unsigned int hash_set PARAMS ((int, int)); static int expr_equiv_p PARAMS ((rtx, rtx)); static void record_last_reg_set_info PARAMS ((rtx, int)); -- 2.30.2