re PR tree-optimization/26180 (wrong code due to VRP and unsigned multiplies with...
authorDiego Novillo <dnovillo@redhat.com>
Thu, 9 Feb 2006 12:38:35 +0000 (12:38 +0000)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Thu, 9 Feb 2006 12:38:35 +0000 (07:38 -0500)
commit7dc32197a8f098c05d589d80ccbcc7ea51a62bea
tree33ef846a4e5a0e2ffd2f172f144a0e07e597bf8d
parente10fbf96398ce612c334754e0614c998e3ec3335
re PR tree-optimization/26180 (wrong code due to VRP and unsigned multiplies with wraps)

PR 26180
* tree-vrp.c (vrp_int_const_binop): Detect overflow when
multiplying unsigned values.
Tidy comments.

testsuite

PR 26180
* gcc.dg/tree-ssa/pr26180.c: New test.

From-SVN: r110794
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr26180.c [new file with mode: 0644]
gcc/tree-vrp.c