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 833cc43..6799107 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -11256,7 +11256,7 @@ tree_expr_nonzero_p (tree t) tree inner_type = TREE_TYPE (TREE_OPERAND (t, 0)); tree outer_type = TREE_TYPE (t); - return (TYPE_PRECISION (inner_type) >= TYPE_PRECISION (outer_type) + return (TYPE_PRECISION (outer_type) >= TYPE_PRECISION (inner_type) && tree_expr_nonzero_p (TREE_OPERAND (t, 0))); } break; |