summaryrefslogtreecommitdiff
path: root/gcc/hashtable.c
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-20 08:13:32 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-20 08:13:32 +0000
commit5d3c2f0176e151411e0488be71cf1e23c4c40c39 (patch)
treee7f5e349bc9b9f942554e30757260a575d2223fb /gcc/hashtable.c
parentabd3117dd671f555cc7a4e7999e2e02cc2d3aa95 (diff)
downloadgcc-5d3c2f0176e151411e0488be71cf1e23c4c40c39.tar.gz
* hashtable.c (calc_hash): Fix HASHSTEP definition.
* stringpool.c (make_identifier): No statistics here anymore. * objc-act.c (steup_string_decl): Remove redundant check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42337 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hashtable.c')
-rw-r--r--gcc/hashtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/hashtable.c b/gcc/hashtable.c
index f77eb7f132e..82c3a9e51ae 100644
--- a/gcc/hashtable.c
+++ b/gcc/hashtable.c
@@ -64,7 +64,7 @@ calc_hash (str, len)
{
unsigned int n = len;
unsigned int r = 0;
-#define HASHSTEP(r, c) ((r) * 67 + (c - 113));
+#define HASHSTEP(r, c) ((r) * 67 + ((c) - 113));
while (n--)
r = HASHSTEP (r, *str++);