https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77893
Bug ID: 77893 Summary: VRP simplify_bit_ops_using_ranges should be applied during propagation Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: easyhack, missed-optimization Severity: enhancement Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- A redundant _3 = _2 & _1; that is replaced by _3 = _2; should instead produce a [_2, _2] range for _3 during propagation.