tree-vrp.c (evrp_dom_walker::before_dom_children): Also set range/nonnull info for...
authorRichard Biener <rguenther@suse.de>
Wed, 11 Jan 2017 09:06:29 +0000 (09:06 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 11 Jan 2017 09:06:29 +0000 (09:06 +0000)
commit80c74722bc934e376b06fa2e59925cb134202266
tree3bdccc60769ba543734fa198aa5ebb8041cced1a
parent4c4b47031d4bcbf116cbc3c479933adf14b2b4fe
tree-vrp.c (evrp_dom_walker::before_dom_children): Also set range/nonnull info for PHI results.

2017-01-11  Richard Biener  <rguenther@suse.de>

* tree-vrp.c (evrp_dom_walker::before_dom_children): Also
set range/nonnull info for PHI results.  Do not set it on
stmts marked for removal.

* gcc.dg/tree-ssa/pr61743-1.c: Adjust.

From-SVN: r244305
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr61743-1.c
gcc/tree-vrp.c