diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-03 19:59:11 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-07-03 19:59:11 +0000 |
commit | c257ea20f98bfe7b23a09a36a1624ba69ac3cb41 (patch) | |
tree | 2cc645bf8c4596b852b14c5475fe8d7e3d007583 | |
parent | fc34d0d0a8669ab44c8283665c581c3994b16b1c (diff) | |
download | gcc-c257ea20f98bfe7b23a09a36a1624ba69ac3cb41.tar.gz |
* tree.c (type_hash_eq): Allow TYPE_MIN_VALUE which compares equal
with tree_int_cst_equal.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84062 138bc75d-0d04-0410-961f-82ee72b054a4
-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 5ecb9a48587..e1b222a8a06 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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". diff --git a/gcc/tree.c b/gcc/tree.c index bc6d3aec1eb..64d2dd55c13 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -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: |