re PR tree-optimization/52267 (a&~N where N has all the bits set up till a…
re PR tree-optimization/52267 (a&~N where N has all the bits set up till a specific point can be folded to ((unsigned)a) < N) PR tree-optimization/52267 * tree-vrp.c (masked_increment): New function. (register_edge_assert_for_2): Derive ASSERT_EXPRs from (X & CST1) cmp CST2 tests. * gcc.dg/pr52267.c: New test. * gcc.dg/tree-ssa/vrp65.c: New test. * gcc.dg/tree-ssa/vrp66.c: New test. From-SVN: r185427
Showing
gcc/testsuite/gcc.dg/pr52267.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/vrp65.c
0 → 100644
gcc/testsuite/gcc.dg/tree-ssa/vrp66.c
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment