tree.c (type_hash_eq): Allow TYPE_MIN_VALUE which compares equal with tree_int_cst_equal.

* tree.c (type_hash_eq): Allow TYPE_MIN_VALUE which compares equal
	with tree_int_cst_equal.

From-SVN: r84062
This commit is contained in:
Joseph Myers 2004-07-03 20:59:11 +01:00 committed by Joseph Myers
parent f05ef4220a
commit 614ed70a59
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-07-03 Joseph S. Myers <jsm@polyomino.org.uk>
* tree.c (type_hash_eq): Allow TYPE_MIN_VALUE which compares equal
with tree_int_cst_equal.
2004-07-03 Andreas Schwab <schwab@suse.de>
* config/ia64/ia64.md: Define new attribute "empty".

View File

@ -3198,7 +3198,7 @@ type_hash_eq (const void *va, const void *vb)
|| tree_int_cst_equal (TYPE_MAX_VALUE (a->type),
TYPE_MAX_VALUE (b->type)))
&& (TYPE_MIN_VALUE (a->type) == TYPE_MIN_VALUE (b->type)
&& tree_int_cst_equal (TYPE_MIN_VALUE (a->type),
|| tree_int_cst_equal (TYPE_MIN_VALUE (a->type),
TYPE_MIN_VALUE (b->type))));
case OFFSET_TYPE: