diff options
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index 0524e1dc16e..64a30f4b825 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -4825,7 +4825,7 @@ fold_single_bit_test (code, arg0, arg1, result_type) if (arg00 != NULL_TREE) { tree stype = (*lang_hooks.types.signed_type) (TREE_TYPE (arg00)); - return fold (build (code == EQ_EXPR ? GE_EXPR : LT_EXPR, type, + return fold (build (code == EQ_EXPR ? GE_EXPR : LT_EXPR, result_type, convert (stype, arg00), convert (stype, integer_zero_node))); } |