summaryrefslogtreecommitdiff
path: root/gcc/ch
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-18 18:11:18 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-18 18:11:18 +0000
commit3609f4f07936f198d3accfdf80e56eb8e754e256 (patch)
treeba20c4b0e0120a645cd25113492a883864a687e1 /gcc/ch
parent126b10988b71a35ab7567ee9b2e404656d02f1be (diff)
downloadgcc-3609f4f07936f198d3accfdf80e56eb8e754e256.tar.gz
* except.c (TYPE_HASH): Delete.
* objc/objc-act.c (HASHFUNCTION): Cast to size_t, not HOST_WIDE_INT. * tree.c (TYPE_HASH): Delete. * tree.h (TYPE_HASH): Define. ch: * tree.c (TYPE_HASH): Moved to ../tree.h. cp: * decl.c: Cast argument to size_t, not HOST_WIDE_INT, in calls to GNU_xref_start_scope and GNU_xref_end_scope. * tree.c (TYPE_HASH): Moved to ../tree.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45004 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ch')
-rw-r--r--gcc/ch/ChangeLog4
-rw-r--r--gcc/ch/tree.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/ch/ChangeLog b/gcc/ch/ChangeLog
index 31d6d4963a0..e9f19398dc8 100644
--- a/gcc/ch/ChangeLog
+++ b/gcc/ch/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * tree.c (TYPE_HASH): Moved to ../tree.h.
+
2001-08-11 Zack Weinberg <zackw@panix.com>
* lex.c: Don't include setjmp.h.
diff --git a/gcc/ch/tree.c b/gcc/ch/tree.c
index 53485dbc2eb..0347d66dbb3 100644
--- a/gcc/ch/tree.c
+++ b/gcc/ch/tree.c
@@ -26,10 +26,6 @@ Boston, MA 02111-1307, USA. */
#include "ch-tree.h"
#include "toplev.h"
-/* Here is how primitive or already-canonicalized types'
- hash codes are made. */
-#define TYPE_HASH(TYPE) ((HOST_WIDE_INT) (TYPE) & 0777777)
-
extern struct obstack permanent_obstack;
/* This is special sentinel used to communicate from build_string_type
to layout_chill_range_type for the index range of a string. */