diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/tree.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f9acd651195..0306225202d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com> + + * tree.c (type_hash_add): Use permalloc to allocate nodes in the + hashtable. + Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk> * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define. diff --git a/gcc/tree.c b/gcc/tree.c index 2516301ba54..c688dfc5eb8 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -3759,7 +3759,7 @@ type_hash_add (hashcode, type) { register struct type_hash *h; - h = (struct type_hash *) oballoc (sizeof (struct type_hash)); + h = (struct type_hash *) permalloc (sizeof (struct type_hash)); h->hashcode = hashcode; h->type = type; h->next = type_hash_table[hashcode % TYPE_HASH_SIZE]; |

