EVRP - Push op1 value range before pushing op0 value range.
authorKugan Vivekanandarajah <kugan@gcc.gnu.org>
Thu, 13 Oct 2016 01:26:28 +0000 (01:26 +0000)
committerKugan Vivekanandarajah <kugan@gcc.gnu.org>
Thu, 13 Oct 2016 01:26:28 +0000 (01:26 +0000)
commit0011af7b9dce859b28a4dbdce2dff6d081193ddd
tree0bf7abb84bde6fc4de931b535835cef98e0f5339
parent457e189d04c97e71e14ab3ea8d5c32510b9a0616
EVRP - Push op1 value range before pushing op0 value range.

gcc/ChangeLog:

2016-10-12  Richard Biener  <rguenther@suse.de>

* tree-vrp.c (evrp_dom_walker::try_find_new_range): Renamed from
try_add_new_range and made to eturn new range.
(evrp_dom_walker::before_dom_children): Push op1 value range before
pushing op0 value range.

gcc/testsuite/ChangeLog:

2016-10-12  Kugan Vivekanandarajah  <kuganv@linaro.org>

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

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