re PR tree-optimization/81346 (Missed constant propagation into comparison)
authorJakub Jelinek <jakub@redhat.com>
Wed, 19 Jul 2017 13:10:05 +0000 (15:10 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 19 Jul 2017 13:10:05 +0000 (15:10 +0200)
commit564e405c138dc1891ca92462a585bf89444d7dd1
tree9e875de35ac0f6800dfa505953c13e700cc8a307
parent3717fbe35e288a02ddf97367355b15530745cecb
re PR tree-optimization/81346 (Missed constant propagation into comparison)

PR tree-optimization/81346
* match.pd: Optimize (X - 1U) <= INT_MAX-1U into (int) X > 0.

* gcc.dg/tree-ssa/pr81346-5.c: New test.

From-SVN: r250342
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr81346-5.c [new file with mode: 0644]