diff options
author | Joseph Myers <jsm@polyomino.org.uk> | 2004-07-03 20:59:11 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2004-07-03 20:59:11 +0100 |
commit | 614ed70a597544644d86a8346e0158acec5886c1 (patch) | |
tree | 2cc645bf8c4596b852b14c5475fe8d7e3d007583 /gcc | |
parent | f05ef4220a4cd6c3c8aafc41efd1f4165865825f (diff) | |
download | gcc-614ed70a597544644d86a8346e0158acec5886c1.zip gcc-614ed70a597544644d86a8346e0158acec5886c1.tar.gz gcc-614ed70a597544644d86a8346e0158acec5886c1.tar.bz2 |
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
Diffstat (limited to 'gcc')
-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 5ecb9a4..e1b222a 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". @@ -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: |