Avoid two_valued_val_range_p for pointers.
authorMarc Glisse <marc.glisse@inria.fr>
Wed, 22 Nov 2017 16:44:46 +0000 (17:44 +0100)
committerMarc Glisse <glisse@gcc.gnu.org>
Wed, 22 Nov 2017 16:44:46 +0000 (16:44 +0000)
commite54675bbabc2ed8100b7055008818b391cbbabbb
tree1cdd03c02cad8253ed2031494bfcbe9d9cb2070d
parent29a3136e6d0be33b962675abe4e13a5d4e58a126
Avoid two_valued_val_range_p for pointers.

2017-11-22  Marc Glisse  <marc.glisse@inria.fr>

PR tree-optimization/83104
gcc/
* vr-values.c (simplify_stmt_using_ranges): Check integral argument,
not result.

gcc/testsuite/
* gcc.c-torture/compile/pr83104.c: New file.

From-SVN: r255068
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr83104.c [new file with mode: 0644]
gcc/vr-values.c