aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2012-05-10 07:58:27 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2012-05-10 07:58:27 +0000
commit3ac8781c36d6f1ce612e5233dc9254d2d8cee5ca (patch)
tree1b55fc7996845f84a927496e5f0f6f7aa9d75d19 /gcc/ada
parent26c7244823b6d5c3c0cdc86cf411e6e6860ddb16 (diff)
downloadgcc-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/ada')
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/gcc-interface/cuintp.c5
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index fa564b1..d24810f 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-10 Richard Guenther <rguenther@suse.de>
+
+ * gcc-interface/cuintp.c (UI_From_gnu): Remove TYPE_IS_SIZETYPE use.
+
2012-05-06 Tristan Gingold <gingold@adacore.com>
* gcc-interface/trans.c (gigi): Decorate reraise_zcx_decl.
diff --git a/gcc/ada/gcc-interface/cuintp.c b/gcc/ada/gcc-interface/cuintp.c
index 31ed801..60cb26f 100644
--- a/gcc/ada/gcc-interface/cuintp.c
+++ b/gcc/ada/gcc-interface/cuintp.c
@@ -177,10 +177,7 @@ UI_From_gnu (tree Input)
in a signed 64-bit integer. */
if (host_integerp (Input, 0))
return UI_From_Int (TREE_INT_CST_LOW (Input));
- else if (TREE_INT_CST_HIGH (Input) < 0
- && TYPE_UNSIGNED (gnu_type)
- && !(TREE_CODE (gnu_type) == INTEGER_TYPE
- && TYPE_IS_SIZETYPE (gnu_type)))
+ else if (TREE_INT_CST_HIGH (Input) < 0 && TYPE_UNSIGNED (gnu_type))
return No_Uint;
#endif