re PR tree-optimization/64322 (More optimize opportunity for constant folding)
authorJakub Jelinek <jakub@redhat.com>
Wed, 17 Dec 2014 09:29:12 +0000 (10:29 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 17 Dec 2014 09:29:12 +0000 (10:29 +0100)
commit4c57980f9d30e6947025424536eeed42bf6e1239
tree1a8656d47d66e823737ac3e415884b56dda90702
parent8f94a8c4cc27e04b3c8ef2f8b650263aab6ff4db
re PR tree-optimization/64322 (More optimize opportunity for constant folding)

PR tree-optimization/64322
* tree-vrp.c (extract_range_from_binary_expr_1): Attempt to derive
range for RSHIFT_EXPR even if vr0 range is not VR_RANGE or is symbolic.

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

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