Commit 858e574f by Mark Mitchell Committed by Mark Mitchell

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
parent 5868eb4e
Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
* tree.c (type_hash_canon): Put all types in the hash-table, when
GC'ing.
Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com> Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
* recog.h (struct recog_data, recog_data): New. * recog.h (struct recog_data, recog_data): New.
......
...@@ -3756,7 +3756,7 @@ type_hash_canon (hashcode, type) ...@@ -3756,7 +3756,7 @@ type_hash_canon (hashcode, type)
} }
/* If this is a permanent type, record it for later reuse. */ /* 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); type_hash_add (hashcode, type);
return type; return type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment