diff options
author | Richard Guenther <rguenther@suse.de> | 2012-05-10 07:58:27 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2012-05-10 07:58:27 +0000 |
commit | 3ac8781c36d6f1ce612e5233dc9254d2d8cee5ca (patch) | |
tree | 1b55fc7996845f84a927496e5f0f6f7aa9d75d19 /gcc/gimple.c | |
parent | 26c7244823b6d5c3c0cdc86cf411e6e6860ddb16 (diff) | |
download | gcc-3ac8781c36d6f1ce612e5233dc9254d2d8cee5ca.zip gcc-3ac8781c36d6f1ce612e5233dc9254d2d8cee5ca.tar.gz gcc-3ac8781c36d6f1ce612e5233dc9254d2d8cee5ca.tar.bz2 |
cuintp.c (UI_From_gnu): Remove TYPE_IS_SIZETYPE use.
2012-05-10 Richard Guenther <rguenther@suse.de>
ada/
* gcc-interface/cuintp.c (UI_From_gnu): Remove TYPE_IS_SIZETYPE use.
c-family/
* c-common.c (c_sizeof_or_alignof_type): Remove assert and
adjust commentary about TYPE_IS_SIZETYPE types.
* tree.h (TYPE_IS_SIZETYPE): Remove.
* fold-const.c (int_const_binop_1): Remove TYPE_IS_SIZETYPE use.
(extract_muldiv_1): Likewise.
* gimple.c (gtc_visit): Likewise.
(gimple_types_compatible_p): Likewise.
(iterative_hash_canonical_type): Likewise.
(gimple_canonical_types_compatible_p): Likewise.
* gimplify.c (gimplify_one_sizepos): Likewise.
* print-tree.c (print_node): Likewise.
* stor-layout.c (initialize_sizetypes): Do not set TYPE_IS_SIZETYPE.
From-SVN: r187363
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r-- | gcc/gimple.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c index e8841ec..79da12c 100644 --- a/gcc/gimple.c +++ b/gcc/gimple.c @@ -3326,8 +3326,7 @@ gtc_visit (tree t1, tree t2, return false; if (TREE_CODE (t1) == INTEGER_TYPE - && (TYPE_IS_SIZETYPE (t1) != TYPE_IS_SIZETYPE (t2) - || TYPE_STRING_FLAG (t1) != TYPE_STRING_FLAG (t2))) + && TYPE_STRING_FLAG (t1) != TYPE_STRING_FLAG (t2)) return false; /* That's all we need to check for float and fixed-point types. */ @@ -3756,8 +3755,7 @@ gimple_types_compatible_p (tree t1, tree t2) return false; if (TREE_CODE (t1) == INTEGER_TYPE - && (TYPE_IS_SIZETYPE (t1) != TYPE_IS_SIZETYPE (t2) - || TYPE_STRING_FLAG (t1) != TYPE_STRING_FLAG (t2))) + && TYPE_STRING_FLAG (t1) != TYPE_STRING_FLAG (t2)) return false; /* That's all we need to check for float and fixed-point types. */ @@ -4206,10 +4204,7 @@ iterative_hash_canonical_type (tree type, hashval_t val) /* For integer types hash the types min/max values and the string flag. */ if (TREE_CODE (type) == INTEGER_TYPE) - { - v = iterative_hash_hashval_t (TYPE_STRING_FLAG (type), v); - v = iterative_hash_hashval_t (TYPE_IS_SIZETYPE (type), v); - } + v = iterative_hash_hashval_t (TYPE_STRING_FLAG (type), v); /* For array types hash their domain and the string flag. */ if (TREE_CODE (type) == ARRAY_TYPE @@ -4425,8 +4420,7 @@ gimple_canonical_types_compatible_p (tree t1, tree t2) return false; if (TREE_CODE (t1) == INTEGER_TYPE - && (TYPE_IS_SIZETYPE (t1) != TYPE_IS_SIZETYPE (t2) - || TYPE_STRING_FLAG (t1) != TYPE_STRING_FLAG (t2))) + && TYPE_STRING_FLAG (t1) != TYPE_STRING_FLAG (t2)) return false; /* For canonical type comparisons we do not want to build SCCs |