diff options
Diffstat (limited to 'contrib/gcc/tree.c')
| -rw-r--r-- | contrib/gcc/tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/gcc/tree.c b/contrib/gcc/tree.c index 90b860ce1afb..a4f0616323bc 100644 --- a/contrib/gcc/tree.c +++ b/contrib/gcc/tree.c @@ -4540,7 +4540,8 @@ host_integerp (tree t, int pos) && (HOST_WIDE_INT) TREE_INT_CST_LOW (t) >= 0) || (! pos && TREE_INT_CST_HIGH (t) == -1 && (HOST_WIDE_INT) TREE_INT_CST_LOW (t) < 0 - && !TYPE_UNSIGNED (TREE_TYPE (t))) + && (!TYPE_UNSIGNED (TREE_TYPE (t)) + || TYPE_IS_SIZETYPE (TREE_TYPE (t)))) || (pos && TREE_INT_CST_HIGH (t) == 0))); } |
