aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-08-23 08:47:08 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-08-23 08:47:08 +0000
commitbe88a6281e3462ff2c6bf11aa32ea777de029124 (patch)
tree5d3b1898069b4a5386b068a0d2c742f4e6239425 /gcc/fold-const.c
parent8dd16ecc7d71b9f1e1bdc4d870cf2436db9594a9 (diff)
downloadgcc-be88a6281e3462ff2c6bf11aa32ea777de029124.zip
gcc-be88a6281e3462ff2c6bf11aa32ea777de029124.tar.gz
gcc-be88a6281e3462ff2c6bf11aa32ea777de029124.tar.bz2
tree.h (enum size_type_kind): Remove USIZETYPE, UBITSIZETYPE.
* tree.h (enum size_type_kind): Remove USIZETYPE, UBITSIZETYPE. (usize_type, ubitsizetype): Remove. * stor-layout.c (set_sizetype): Don't initialize usizetype, ubitsizetype. * fold-const.c (size_diffop): TYPE can never be ubitsizetype. From-SVN: r86422
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 893aacc..25fa071 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -1728,8 +1728,7 @@ size_diffop (tree arg0, tree arg1)
if (!TYPE_UNSIGNED (type))
return size_binop (MINUS_EXPR, arg0, arg1);
- ctype = (type == bitsizetype || type == ubitsizetype
- ? sbitsizetype : ssizetype);
+ ctype = type == bitsizetype ? sbitsizetype : ssizetype;
/* If either operand is not a constant, do the conversions to the signed
type and subtract. The hardware will do the right thing with any