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/stor-layout.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gcc/stor-layout.c') diff --git a/gcc/stor-layout.c b/gcc/stor-layout.c index fb00b5f..842b506 100644 --- a/gcc/stor-layout.c +++ b/gcc/stor-layout.c @@ -2479,12 +2479,10 @@ initialize_sizetypes (void) TYPE_NAME (sizetype) = get_identifier ("sizetype"); TYPE_PRECISION (sizetype) = precision; TYPE_UNSIGNED (sizetype) = 1; - TYPE_IS_SIZETYPE (sizetype) = 1; bitsizetype = make_node (INTEGER_TYPE); TYPE_NAME (bitsizetype) = get_identifier ("bitsizetype"); TYPE_PRECISION (bitsizetype) = bprecision; TYPE_UNSIGNED (bitsizetype) = 1; - TYPE_IS_SIZETYPE (bitsizetype) = 1; /* Now layout both types manually. */ SET_TYPE_MODE (sizetype, smallest_mode_for_size (precision, MODE_INT)); @@ -2505,10 +2503,8 @@ initialize_sizetypes (void) /* Create the signed variants of *sizetype. */ ssizetype = make_signed_type (TYPE_PRECISION (sizetype)); TYPE_NAME (ssizetype) = get_identifier ("ssizetype"); - TYPE_IS_SIZETYPE (ssizetype) = 1; sbitsizetype = make_signed_type (TYPE_PRECISION (bitsizetype)); TYPE_NAME (sbitsizetype) = get_identifier ("sbitsizetype"); - TYPE_IS_SIZETYPE (sbitsizetype) = 1; } /* TYPE is an integral type, i.e., an INTEGRAL_TYPE, ENUMERAL_TYPE -- cgit v1.1