[Patch] PR tree-optimization/68234 Improve range info for loop Phi node
authorRichard Biener <rguenth@gcc.gnu.org>
Wed, 11 Nov 2015 10:51:31 +0000 (10:51 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Wed, 11 Nov 2015 10:51:31 +0000 (10:51 +0000)
commit35e2b6e1622210481b6c3118f55fc99a049d504b
tree3d93e4ac15fc77f974ba640c8472f3c383ec3855
parent394b24ea80626c5464f842f574a57547fb024ad6
[Patch] PR tree-optimization/68234 Improve range info for loop Phi node

2015-11-11  Richard Biener  <rguenth@gcc.gnu.org>
    Jiong Wang      <jiong.wang@arm.com>
gcc/
  PR tree-optimization/68234
  * tree-vrp.c (vrp_visit_phi_node): Extend SCEV check to those loop PHI
  node which estimiated to be VR_VARYING initially.

gcc/testsuite/
  * gcc.dg/tree-ssa/pr68234.c: New testcase.

Co-Authored-By: Jiong Wang <jiong.wang@arm.com>
From-SVN: r230150
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr68234.c [new file with mode: 0644]
gcc/tree-vrp.c