From: Mark Mitchell Date: Sun, 12 Sep 1999 02:49:34 +0000 (+0000) Subject: tree.c (type_hash_canon): Put all types in the hash-table, when GC'ing. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=858e574fdc6981096c9f2f6ac315cbca0971c082;p=gcc.git tree.c (type_hash_canon): Put all types in the hash-table, when GC'ing. * tree.c (type_hash_canon): Put all types in the hash-table, when GC'ing. From-SVN: r29351 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2b3426af9ee..ae375459269 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sat Sep 11 19:52:43 1999 Mark Mitchell + + * tree.c (type_hash_canon): Put all types in the hash-table, when + GC'ing. + Sat Sep 11 18:37:04 1999 Richard Henderson * recog.h (struct recog_data, recog_data): New. diff --git a/gcc/tree.c b/gcc/tree.c index b10ce01ccfd..b9da51bd5a5 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -3756,7 +3756,7 @@ type_hash_canon (hashcode, type) } /* If this is a permanent type, record it for later reuse. */ - if (TREE_PERMANENT (type)) + if (ggc_p || TREE_PERMANENT (type)) type_hash_add (hashcode, type); return type;