tree-vrp.c (simplify_min_or_max_using_ranges): New.
authorNathan Sidwell <nathan@acm.org>
Wed, 12 Aug 2015 13:08:23 +0000 (13:08 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Wed, 12 Aug 2015 13:08:23 +0000 (13:08 +0000)
commitda7db2ced2f26dc763e69176e850e8175945bc46
treecc3b5adfb47fbb84706ba2a55f6f8b493af361a5
parent191a6b94e688171a6e62f0ee3443011f0d1d1855
tree-vrp.c (simplify_min_or_max_using_ranges): New.

* tree-vrp.c (simplify_min_or_max_using_ranges): New.
(simplify_stmt_using_ranges): Simplify MIN and MAX exprs.

testsuite/
* gcc.dg/vrp-min-max-1.c: New.
* gcc.dg/vrp-min-max-2.c: New.

From-SVN: r226809
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vrp-min-max-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/vrp-min-max-2.c [new file with mode: 0644]
gcc/tree-vrp.c