From 3ac8781c36d6f1ce612e5233dc9254d2d8cee5ca Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Thu, 10 May 2012 07:58:27 +0000 Subject: cuintp.c (UI_From_gnu): Remove TYPE_IS_SIZETYPE use. 2012-05-10 Richard Guenther 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 --- gcc/ada/ChangeLog | 4 ++++ gcc/ada/gcc-interface/cuintp.c | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'gcc/ada') 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 + + * gcc-interface/cuintp.c (UI_From_gnu): Remove TYPE_IS_SIZETYPE use. + 2012-05-06 Tristan Gingold * 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 -- cgit v1.1