aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-09-12 02:49:34 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>1999-09-12 02:49:34 +0000
commit858e574fdc6981096c9f2f6ac315cbca0971c082 (patch)
treecd573b09329b33d013bc8c8eca60ffe0d9dff533 /gcc/tree.c
parent5868eb4e0aa53750d7b6f916e5da5118961d083c (diff)
downloadgcc-858e574fdc6981096c9f2f6ac315cbca0971c082.zip
gcc-858e574fdc6981096c9f2f6ac315cbca0971c082.tar.gz
gcc-858e574fdc6981096c9f2f6ac315cbca0971c082.tar.bz2
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
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index b10ce01..b9da51b 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;