2014-10-09 Richard Biener <rguenther@suse.de>
commit5be85c4c48fea0d2b38e9fdcf115882ecd7bab20
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Oct 2014 08:20:53 +0000 (9 08:20 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Oct 2014 08:20:53 +0000 (9 08:20 +0000)
treebb758a1c6c30688ffeabdbe9b62736d35f09b005
parentacafca510c97652f1fc3cf9dbe0586aa8428aeea
2014-10-09  Richard Biener  <rguenther@suse.de>

PR tree-optimization/63445
* tree-vrp.c (simplify_cond_using_ranges): Only warn about
overflow for non-equality compares.

* gcc.dg/Wstrict-overflow-26.c: New testcase.

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