X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fc-common.c;h=3089e5dbed8ab40b0bc393e558771111f172d20e;hb=821960c78df37188d9dc47e55e9d0d4d6eb3339b;hp=8f9e0bfb5fcd76ebe462428f75a97318f4d84109;hpb=b7d1e8ea21fd3179c1a58ecd66f25a801e35720c;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/c-common.c b/gcc/c-common.c index 8f9e0bfb5fc..3089e5dbed8 100644 --- a/gcc/c-common.c +++ b/gcc/c-common.c @@ -1969,8 +1969,6 @@ c_common_signed_type (tree type) tree c_common_signed_or_unsigned_type (int unsignedp, tree type) { - tree new_type; - if (! INTEGRAL_TYPE_P (type) || TREE_UNSIGNED (type) == unsignedp) return type; @@ -2003,14 +2001,7 @@ c_common_signed_or_unsigned_type (int unsignedp, tree type) if (TYPE_PRECISION (type) == TYPE_PRECISION (intQI_type_node)) return unsignedp ? unsigned_intQI_type_node : intQI_type_node; - new_type = (unsignedp - ? make_unsigned_type (TYPE_PRECISION (type)) - : make_signed_type (TYPE_PRECISION (type))); - TYPE_SIZE (new_type) = TYPE_SIZE (type); - TYPE_SIZE_UNIT (new_type) = TYPE_SIZE_UNIT (type); - TYPE_MODE (new_type) = TYPE_MODE (type); - - return new_type; + return type; } /* Return the minimum number of bits needed to represent VALUE in a