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 cff9c10..c712213 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -12817,7 +12817,7 @@ fold_binary_loc (location_t loc, tree arg00 = TREE_OPERAND (arg0, 0); tree arg01 = TREE_OPERAND (arg0, 1); tree itype = TREE_TYPE (arg00); - if (wi::eq_p (arg01, TYPE_PRECISION (itype) - 1)) + if (wi::eq_p (arg01, element_precision (itype) - 1)) { if (TYPE_UNSIGNED (itype)) { |