2018-03-19 Richard Biener <rguenther@suse.de>
commita70faed768d7eb4e77c8fae148aeb82637e76e39
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Mar 2018 14:11:05 +0000 (19 14:11 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Mar 2018 14:11:05 +0000 (19 14:11 +0000)
tree479d5e4e7e3568816973b2874c62f0be5fb17883
parent33ac517c52074cbca38d723d5b6c387b6fae5713
2018-03-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/84933
* tree-vrp.c (set_and_canonicalize_value_range): Treat out-of-bound
values as -INF/INF when canonicalizing an ANTI_RANGE to a RANGE.

* g++.dg/pr84933.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@258646 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr84933.C [new file with mode: 0644]
gcc/tree-vrp.c