Commit bf3469b
committed
The caller to irange::intersect (wide_int, wide_int) must normalize the range.
Per the function comment, the caller to intersect(wide_int, wide_int)
must handle the mask. This means it must also normalize the range if
anything changed.
gcc/ChangeLog:
* value-range.cc (irange::intersect): Leave normalization to
caller.1 parent 0c88866 commit bf3469b
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1475 | 1475 | | |
1476 | 1476 | | |
1477 | 1477 | | |
| 1478 | + | |
| 1479 | + | |
1478 | 1480 | | |
1479 | 1481 | | |
1480 | 1482 | | |
| |||
1574 | 1576 | | |
1575 | 1577 | | |
1576 | 1578 | | |
1577 | | - | |
| 1579 | + | |
1578 | 1580 | | |
1579 | 1581 | | |
1580 | 1582 | | |
| |||
1633 | 1635 | | |
1634 | 1636 | | |
1635 | 1637 | | |
1636 | | - | |
| 1638 | + | |
| 1639 | + | |
1637 | 1640 | | |
1638 | 1641 | | |
1639 | 1642 | | |
| |||
0 commit comments