re PR tree-optimization/23128 (VRP fails for unsigned values)
authorJames A. Morrison <phython@gcc.gnu.org>
Sat, 6 Aug 2005 05:35:31 +0000 (05:35 +0000)
committerJames A. Morrison <phython@gcc.gnu.org>
Sat, 6 Aug 2005 05:35:31 +0000 (05:35 +0000)
commitb17775aba4c709c1fc3f19af33d50b025e3891f4
tree2e47c97b535d7d1d721621ee6339c61536de7863
parent099f36ab8c55844ae47def2f3cacaef7d006d441
re PR tree-optimization/23128 (VRP fails for unsigned values)

2005-08-05  James A. Morrison  <phython@gcc.gnu.org>

        PR tree-optimization/23128
        * tree-vrp.c (vrp_int_const_binop): Check if unsigned addition or
        subtraction wrap, and set TREE_OVERFLOW if they do.

From-SVN: r102800
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/vrp-5.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/vrp-6.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/vrp21.c [new file with mode: 0644]
gcc/tree-vrp.c