2018-10-22 Richard Biener <rguenther@suse.de>
authorRichard Biener <rguenth@gcc.gnu.org>
Mon, 22 Oct 2018 13:57:47 +0000 (13:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 22 Oct 2018 13:57:47 +0000 (13:57 +0000)
commite86087eeb8b9cab8caf7f223b602383a3216c810
tree98dfbd3555145dc4c6d3c6137793b4e489f4672b
parentd1e14d97207fafc3b9873bb06a3a6f1fc1f6d305
2018-10-22  Richard Biener  <rguenther@suse.de>

* gimple-ssa-evrp-analyze.c
(evrp_range_analyzer::record_ranges_from_incoming_edge): Be
smarter about what ranges to use.
* tree-vrp.c (add_assert_info): Dump here.
(register_edge_assert_for_2): Instead of here at multiple but
not all places.

* gcc.dg/tree-ssa/evrp12.c: New testcase.
* gcc.dg/predict-6.c: Adjust.
* gcc.dg/tree-ssa/vrp33.c: Disable EVRP.
* gcc.dg/tree-ssa/vrp02.c: Likewise.
* gcc.dg/tree-ssa/cunroll-9.c: Likewise.

From-SVN: r265391
gcc/ChangeLog
gcc/gimple-ssa-evrp-analyze.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/predict-6.c
gcc/testsuite/gcc.dg/tree-ssa/cunroll-9.c
gcc/testsuite/gcc.dg/tree-ssa/evrp12.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/vrp02.c
gcc/testsuite/gcc.dg/tree-ssa/vrp33.c
gcc/tree-vrp.c