else
op_rshift.fold_range (tmp_range, utype, lhs, op2);
- r.intersect (tmp_range);
-
// Start with ranges which can produce the LHS by right shifting the
// result by the shift amount.
// ie [0x08, 0xF0] = op1 << 2 will start with
unsigned low_bits = TYPE_PRECISION (utype)
- TREE_INT_CST_LOW (shift_amount);
wide_int up_mask = wi::mask (low_bits, true, TYPE_PRECISION (utype));
- wide_int new_ub = wi::bit_or (up_mask, r.upper_bound ());
- wide_int new_lb = wi::set_bit (r.lower_bound (), low_bits);
+ wide_int new_ub = wi::bit_or (up_mask, tmp_range.upper_bound ());
+ wide_int new_lb = wi::set_bit (tmp_range.lower_bound (), low_bits);
int_range<2> fill_range (utype, new_lb, new_ub);
- r.union_ (fill_range);
+ tmp_range.union_ (fill_range);
if (utype != type)
- range_cast (r, type);
+ range_cast (tmp_range, type);
+
+ r.intersect (tmp_range);
return true;
}
--- /dev/null
+// { dg-do compile }
+// { dg-options "-O2 -w" }
+
+int _bdf_parse_glyphs_bp;
+long _bdf_parse_glyphs_nibbles;
+
+void _bdf_parse_glyphs_p()
+{
+ long p_2;
+
+ _bdf_parse_glyphs_nibbles = p_2 << 1;
+
+ for (; 0 < _bdf_parse_glyphs_nibbles;)
+ if (1 < _bdf_parse_glyphs_nibbles)
+ _bdf_parse_glyphs_bp = _bdf_parse_glyphs_p;
+}