tree-vrp.c (simplify_conversion_using_ranges): New function.
authorRichard Guenther <rguenther@suse.de>
Thu, 7 Jul 2011 14:20:16 +0000 (14:20 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 7 Jul 2011 14:20:16 +0000 (14:20 +0000)
commit29c5134ac901bba223eb66866cd4be7d30194dc3
treef136ffc88ee435e9cda3b37d111d3f10497c5b11
parent0816a42a1fa5f3fa99d5756b35c9e7a94cbdb86e
tree-vrp.c (simplify_conversion_using_ranges): New function.

2011-07-07  Richard Guenther  <rguenther@suse.de>

* tree-vrp.c (simplify_conversion_using_ranges): New function.
(simplify_stmt_using_ranges): Call it.

* gcc.dg/tree-ssa/vrp58.c: New testcase.
* gcc.dg/tree-ssa/scev-cast.c: Adjust.

From-SVN: r175975
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/scev-cast.c
gcc/testsuite/gcc.dg/tree-ssa/vrp58.c [new file with mode: 0644]
gcc/tree-vrp.c