summaryrefslogtreecommitdiff
path: root/gcc/stmt.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-03-05 17:30:22 -0800
committerYamaArashi <shadow962@live.com>2016-03-05 17:30:22 -0800
commit1f01ff809a107816317c4ac8a7eff1cbd3700370 (patch)
tree94d195909900f0f3ac91663a431de060e41c7abb /gcc/stmt.c
parent7d46fa8f8f179c38d1ac777e72a381a46a3c5969 (diff)
make host wide int 32 bits
Diffstat (limited to 'gcc/stmt.c')
-rwxr-xr-xgcc/stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index 7665fcb..d167b85 100755
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -4936,7 +4936,7 @@ expand_end_case (orig_index)
else if (TREE_INT_CST_HIGH (range) != 0
|| count < (unsigned int) CASE_VALUES_THRESHOLD
- || ((unsigned HOST_WIDE_INT) (TREE_INT_CST_LOW (range))
+ || ((HOST_WIDE_UINT) (TREE_INT_CST_LOW (range))
> 10 * count)
|| TREE_CODE (index_expr) == INTEGER_CST
/* These will reduce to a constant. */